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.

SetRoomImagesDataContract
NameDescriptionTypeAdditional 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

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.