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. Processes this room description API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The room image order.

SetRoomImagesDataContract
NameDescriptionTypeAdditional information
RoomDescriptionId

The unique identifier of the related room description resource.

integer

None.

RoomId

The unique identifier of the related room resource.

integer

None.

ImageOrder

The collection of image order.

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

The response returned after the operation completes.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

The version value.

Version

None.

Content

The content value.

HttpContent

None.

StatusCode

The status code classification.

HttpStatusCode

None.

ReasonPhrase

The reason phrase value.

string

None.

Headers

The collection of headers.

Collection of Object

None.

RequestMessage

The request message value.

HttpRequestMessage

None.

IsSuccessStatusCode

Indicates whether this item is success status code.

boolean

None.