v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Room

getRooms

Returns a list of all rooms considering the informed parameters. If Check-in/out dates are sent, only unassigned rooms are returned. ### Group account support

get/getRooms

Query parameters

propertyIDsstring

Property ID list, comma-separated, i.e. 37,345,89

roomTypeIDstring

Room type ID, comma-separated, i.e. 37,345,89

roomTypeNameShortstring

Room Type (short-version)

startDatestring date

Initial stay date. If sent, only returns unassigned rooms in this period. If not sent, will return all rooms available in property. Necessary if endDate is sent.

endDatestring date

Final stay date. Necessary if startDate is sent.

includeRoomRelationsinteger

Determines whether room relations info should be included in the response

pageNumberinteger

Page number

pageSizeinteger

Page size

sortstring

Sorting rules, semicolon-separated. Format: field[:direction], where direction is asc or desc, defaults to asc if not provided. Valid fields: room_position, sorting_position. Examples: - sort=room_position;sorting_position - sort=room_position:asc;sorting_position:desc

Response

200 Response

successboolean

Returns if the request could be completed

countinteger

Number of results (properties) returned

totalinteger

Total number of results, can be more than what was returned

messagestring nullable

To be used in case any error occurs (if success = false). If success = true, it does not exist.