Skip to content
Salma Abdelhady edited this page Nov 29, 2017 · 1 revision

Booking workflow overview To make a hotel booking using the roomsXML API:

1. Identify the city and / or hotel(s) where you’d like to book

Use the region search operations. Optionally, you may also use the individual hotel OR set of hotels.

2. Search for hotel availability on the dates you’d like to stay

Use the availability search operation, passing in:

  • the city you’d like to stay in (or individual hotel or set of hotels if known)
  • the dates of the stay
  • the number of people to stay
  • other optional criteria to narrow down the hotel selection.

3. Select from the hotels which have availability

The response contains prices for available rooms and meal/board options. Each price/quote is identified by a QuoteId. This QuoteId should be used for all further operations on the quote.

4. Recheck availability and prices of a QuoteId

Use the BookingCreate – prepare request by passing in the QuoteId and room details. The response will provide you with updated prices, cancellation fees and hotel notes. These must be displayed to the guest before they confirm the booking.

5. Confirm the booking

Prior to accepting payments from your clients on your system, recheck availability and prices using BookingCreate – prepare. This second check is required to ensure that the room is still available before taking payments. Then the BookingCreate – confirm can be used to finally confirm the booking in roomsXML.