Hotel Use Cases

Use cases cover how real-world hotel scenarios are implemented in specific lines of the JSON APIs, and show where to find the requested information in the corresponding response. They complement the API References and Guides.

Use cases are under development. In the meantime, check out Search by airport and Book single or multiple rooms.

Searching for hotels

Search by airport

Search by property ID

Search by point of interest

Search for rooms with multiple adults and children

Return additional search results

Search by specific criteria:

Search for government, weekend, and military rates

Search only specific chains

Limit search to refundable rooms that include breakfast (mmmm donuts)

Booking hotels

Book single or multiple rooms

Create a reservation without a JSON search (details sourced outside the JSON APIs)

Retrieve all reservation details

Create a new reservation for a room booked outside the JSON APIs (aka passive segment)

Other Actions

Check rules before booking

Check rules for a reservation that's already booked

Modifying Reservations

Add room/s to an existing reservation

Change the check-in and/or check-out date on a reservation

Cancel a reservation

Add a room booked outside the JSON APIs (aka passive segment) to an existing reservation