PUT api/property/{id}/imageorder

Sets the image order for the property

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The property id

integer

Required

Body Parameters

The order of the images

SetPropertyDocumentOrderCommandDataContract
NameDescriptionTypeAdditional information
DocumentOrder

Collection of PropertyDocumentOrderDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "DocumentOrder": [
    {
      "DocumentId": 1,
      "Order": 2
    },
    {
      "DocumentId": 1,
      "Order": 2
    }
  ]
}

Response Information

Resource Description

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.