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

Dezrez.Core.DataContracts.External.Api.Property.Command.SetPropertyImageOrder.SetPropertyDocumentOrderCommandDataContract
NameDescriptionTypeAdditional information
DocumentOrder

Collection of Dezrez.Core.DataContracts.External.Api.Property.Command.SetPropertyImageOrder.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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.