v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Room

getRoomBlocks

Returns a list of all room blocks considering the informed parameters.

get/getRoomBlocks

Query parameters

propertyIDstring

Property ID

roomBlockIDstring

Room block ID

roomTypeIDstring

Room type ID

roomIDstring

Room ID

startDatestring date

Defaults to today. Start date - will filter for any room blocks that include this date (Date range must be 35 days or less)

endDatestring date

Defaults to today. End date - will filter for any room blocks that include this date (Date range must be 35 days or less)

pageNumberinteger

Page number

pageSizeinteger

Page size

Response

200 Response

successboolean

Returns if the request could be completed

countinteger

Number of results returned.

totalinteger

Total number of results.

messagestring

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