Hotel Booking with Guest Information

Hotel booking creates a hotel reservation based on the room and rate results from a Hotel Rate and Rule Search response. The number of guests, rooms, or both, can be added to a Hotel Booking request to book available rooms that meet the criteria.

The GuestInformation element is used to indicate traveler numbers and type for both the booking request and response.

Request

In addition to the minimum required data for a standard Hotel Booking request, the GuestInformation child of HotelCreateReservationReq is used to book a specific number of rooms, number of adults, and number of children. Universal API supports a maximum of nine travelers per room (four adults and five children). Individual hotel properties and room rates may also limit the number of travelers for a room based on the property policy or related requirements such as local fire safety laws.

Response

In the response, the element used to indicate the number of children in the booking may vary depending on the provider.

Response data is returned in HotelCreateReservationRsp/UniversalRecord/HotelReservation/GuestInformation.

Specific response data varies by provider and supplier. See the following table and Exceptions for details.

Supported Response Data for Children

The following chart indicates which response values are supported by the various providers. The presence of specific response data from any provider is always subject to its return by a specific supplier or hotel property.

GuestInformation Booking Data Galileo (1G) Apollo (1V) Worldspan (1P)
/NumberOfChildren Yes Yes Yes
@Count Yes Yes Yes
@Amount (Response only) Yes Yes No
/Age Yes Yes No
/ExtraChild No No No
@Count No No Yes
@Content (Response only) No No Yes

Universal Record History

NumberOfChild and ExtraChild data are returned in Universal Record History under ElementType "GuestInformation".

Errors and Warnings

For hotel suppliers do not support additional children for a room (NumberOfChildren and/or ExtraChild), the booking request returns and error.

Exceptions