v1

latestSwagger 2.02026-07-141993129.2 KB
Availability

Gets the availability and occupancy for a specific hotel and timespan.

Read past occupancy and future availability for a specific hotel. You can also request the breakdown per room type.

get/api/booking/v0/availability

Query parameters

hotelIdinteger required

Specifies the hotel id to request the availability for.

fromstring date-time required

Defines the first business day you would like to get availability numbers for.

tostring date-time required

Defines the last business day you would like to get availability numbers for. The maximum time span between <i>from</i>´and <i>to</i> is limited to 365 days.

expand'RoomTypes'

You can expand the room types breakdown per business day for the availibility numbers if need be.

skipinteger

Amount of items to skip.

topinteger

Amount of items to select.

inlinecount'None' | 'AllPages'

Return total number of items for a given filter criteria.

Headers

App-Idstring required

Application identifier

App-Keystring required

Application key.

Response

Returns a list of availabilities per business day.

_countinteger

The number of items matching your request in total for all pages.

_linksobject

Collection of links to related resources