POST api/roomdescription/setimages
Allows you to specify a list of documentIds for a roomDescriptions room - this list will overwrite any existing list of documents on that room, and order will be honoured.
Request Information
URI Parameters
None.
Body Parameters
The room image order.
Dezrez.Core.DataContracts.External.Api.Descriptions.Command.SetRoomImagesDataContractName | Description | Type | Additional information |
---|---|---|---|
RoomDescriptionId | integer |
None. |
|
RoomId | integer |
None. |
|
ImageOrder | Collection of integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "RoomDescriptionId": 1, "RoomId": 2, "ImageOrder": [ 1, 2 ] }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional 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. |