Availability
Availability by Room Type Code
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes/{roomTypeCode}/availability?startDate={yyyy-MM-dd}
or
Path: /publishers/{publisherCode}/hotels/{hotelCode}/roomTypes/{roomTypeCode}/availability?startDate={yyyy-MM-dd}&range={NumberOfDays}
Description: Get all availability for a publisher, hotel, room type and date range.
Parameters
publisherCode
path
The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list
Yes
String
hotelCode
path
The code that uniquely identifies a single hotel property.
Yes
String
roomTypeCode
path
The code that identifies a Room Type.
Yes
String
startDate
query
Start date to query for availability. Format like yyyy-MM-dd
i.e 2024-07-21
.
Yes
Date
range
query
The number of days to query for. Maximum 30
.
No
Number
Responses
Availability by Rate Plan Code
Method: GET
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/availability?startDate={yyyy-MM-dd}
or
Path: /publishers/{publisherCode}/hotels/{hotelCode}/ratePlans/{ratePlanCode}/availability?startDate={yyyy-MM-dd}&range={NumberOfDays}
Description: Fetch the availability for a given publisher, hotel, rate plan and date range.
Parameters
publisherCode
path
The unique identifier for the data publisher. Please refer to PMS RequestorID/publisherCode list
Yes
String
hotelCode
path
The code that uniquely identifies a single hotel property.
Yes
String
ratePlanCode
path
The rate plan code.
Yes
String
startDate
query
Start date to query for availability. Format like yyyy-MM-dd
i.e 2024-07-21
.
Yes
Date
range
query
The number of days to query for. Maximum 30
.
No
Number
Responses
Response JSON Samples: Availability Samples
Last updated