GET apioauth/installations/{installationId}/photodescriptions

Get all the photo descriptions for an installation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
installationId

The installation id queried

integer

Required

Body Parameters

None.

Response Information

Resource Description

A ViewPhotoDescriptionsResponse

InstallationPhotoDescriptionsResponse
NameDescriptionTypeAdditional information
PhotoDescriptions

A collection of photo descriptions

Collection of PhotoDescriptionResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "PhotoDescriptions": [
    {
      "Id": 1,
      "Description": "sample string 2",
      "InstallationPhotoType": 0,
      "Photos": [
        {
          "Id": 1,
          "PhotoURL": "sample string 2",
          "Timestamp": "2025-04-27T16:43:23.0959548+00:00",
          "Latitude": 4.1,
          "Longitude": 5.1
        },
        {
          "Id": 1,
          "PhotoURL": "sample string 2",
          "Timestamp": "2025-04-27T16:43:23.0959548+00:00",
          "Latitude": 4.1,
          "Longitude": 5.1
        }
      ]
    },
    {
      "Id": 1,
      "Description": "sample string 2",
      "InstallationPhotoType": 0,
      "Photos": [
        {
          "Id": 1,
          "PhotoURL": "sample string 2",
          "Timestamp": "2025-04-27T16:43:23.0959548+00:00",
          "Latitude": 4.1,
          "Longitude": 5.1
        },
        {
          "Id": 1,
          "PhotoURL": "sample string 2",
          "Timestamp": "2025-04-27T16:43:23.0959548+00:00",
          "Latitude": 4.1,
          "Longitude": 5.1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<InstallationPhotoDescriptionsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PhotoDescriptions>
    <PhotoDescriptionResponse>
      <Id>1</Id>
      <Description>sample string 2</Description>
      <InstallationPhotoType>Damage</InstallationPhotoType>
      <Photos>
        <PhotoResponse>
          <Id>1</Id>
          <PhotoURL>sample string 2</PhotoURL>
          <Timestamp>2025-04-27T16:43:23.0959548+00:00</Timestamp>
          <Latitude>4.1</Latitude>
          <Longitude>5.1</Longitude>
        </PhotoResponse>
        <PhotoResponse>
          <Id>1</Id>
          <PhotoURL>sample string 2</PhotoURL>
          <Timestamp>2025-04-27T16:43:23.0959548+00:00</Timestamp>
          <Latitude>4.1</Latitude>
          <Longitude>5.1</Longitude>
        </PhotoResponse>
      </Photos>
    </PhotoDescriptionResponse>
    <PhotoDescriptionResponse>
      <Id>1</Id>
      <Description>sample string 2</Description>
      <InstallationPhotoType>Damage</InstallationPhotoType>
      <Photos>
        <PhotoResponse>
          <Id>1</Id>
          <PhotoURL>sample string 2</PhotoURL>
          <Timestamp>2025-04-27T16:43:23.0959548+00:00</Timestamp>
          <Latitude>4.1</Latitude>
          <Longitude>5.1</Longitude>
        </PhotoResponse>
        <PhotoResponse>
          <Id>1</Id>
          <PhotoURL>sample string 2</PhotoURL>
          <Timestamp>2025-04-27T16:43:23.0959548+00:00</Timestamp>
          <Latitude>4.1</Latitude>
          <Longitude>5.1</Longitude>
        </PhotoResponse>
      </Photos>
    </PhotoDescriptionResponse>
  </PhotoDescriptions>
</InstallationPhotoDescriptionsResponse>