PATCH apioauth/installationphotos/{photoId}

Update a photo

Request Information

URI Parameters

NameDescriptionTypeAdditional information
photoId

The id of the photo to be updated

integer

Required

Body Parameters

The UpdatePhotoRequest

UpdatePhotoRequest
NameDescriptionTypeAdditional information
PhotoData

The photo encoded as a Base64 string - this must be changed with the photo name

string

None.

PhotoName

The name of the photo - this must be changed with the photo data

string

None.

Timestamp

The timestamp of the photo

date

None.

Latitude

The latitude where the photo was taken

decimal number

None.

Longitude

The longitude where the photo was taken

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PhotoData": "sample string 1",
  "PhotoName": "sample string 2",
  "Timestamp": "2025-04-27T16:33:47.8484134+00:00",
  "Latitude": 1.1,
  "Longitude": 1.1
}

application/xml, text/xml

Sample:
<UpdatePhotoRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PhotoData>sample string 1</PhotoData>
  <PhotoName>sample string 2</PhotoName>
  <Timestamp>2025-04-27T16:33:47.8484134+00:00</Timestamp>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
</UpdatePhotoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 on success

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.