POST 17.0/app/properties/{id}/pictures/move

Description

Moves a property picture from its current location to a new location

URI Parameters

Name Description Type Additional information
id

Id of the property to move the picture for

integer

Required

Model containing the current position and new position of the picture

Name Description Type Additional information
FromPictureNumber

integer

None.

ToPictureNumber

integer

None.

application/json, text/json

Sample:
{
  "fromPictureNumber": 1,
  "toPictureNumber": 2
}

application/xml, text/xml

Sample:
<MovePictureAction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <FromPictureNumber>1</FromPictureNumber>
  <ToPictureNumber>2</ToPictureNumber>
</MovePictureAction>

application/x-www-form-urlencoded

Sample:

Sample not available.

None.

None.