-
Notifications
You must be signed in to change notification settings - Fork 14
Home
Booking workflow overview To make a hotel booking using the roomsXML API:
Use the region search operations. Optionally, you may also use the individual hotel OR set of hotels.
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.
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.
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.
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.