XML Samples: Hotel
Samples include:
- Search, get details, and book (minimum transactions to book)
- Hotel information (keyword search, rules)
- Post-booking options (retrieve, history, cancel)
Both the request and response XML are included in the text file link.
Choose a provider for samples:
Minimum shop, get details, and book
Search for hotels, get rate and rules for a property, and book a room. A Universal Record is returned in the booking response.
Request | Description | Sample |
---|---|---|
Hotel search |
Returns a list of available hotel properties. Follow with a Hotel Details (Rate and Rule Search) to retrieve all available booking codes for the property. |
|
Get hotel details (rate and rule search) |
Returns room rates and rate rules for bookings for a specified hotel property. |
|
Book |
Returns a Universal Record (UR) with the hotel reservation (PNR). |
More hotel information
Request | Description | Sample |
---|---|---|
Hotel rules |
Returns the full set of rules and policies associated to the selected booking code (RatePlanType). |
|
Return keyword list |
Returns a list of available keywords for a specific property. |
|
Return specific keyword information |
Returns specific information about a given keyword for the specified property. |
|
Return Hotel Rate Category with Reference Data |
Returns specific information about Hotel Rate Category via Reference Data. |
|
Add an associated remark for Air, Hotel, Vehicle |
Add an associated remark for an air, hotel, and vehicle booking. |
Post-booking options
Function | Description | Sample |
---|---|---|
Retrieve |
Retrieves a hotel booking. |
|
History |
Returns the history of actions taken on the Universal Record. |
|
Cancel a hotel segment |
Cancels one hotel segment in the Universal Record. The Universal Record and all other segments remain. |