For the complete documentation index, see llms.txt. This page is also available as Markdown.

Book Reservation

The BookReservation transaction is used to create a new booking. The minimum required information typically includes:

Property, room type and rate plan codes

Arrival and departure dates

Number of guests and rooms

Guarantee method (this normally means sending the credit card details)

Primary guest’s name and contact details

Special requests or comments (optional)

Request Message

The following is an example booking request without session control (Passive participation):

<HotelML xmlns="http://www.xpegs.com/v2001Q3/HotelML">
<Head>
<Process DataPath="/HotelML/Form/BookReservation" Function="TI_BookReservationV1_1" Token="1307101856910"/>
<Route Destination="00" Source="01"/>
</Head>
<Form>
<BookReservation CurrencyCode="EUR" GuaranteeMethod="CreditCard" GuaranteeType="Guarantee" InDate="2011-07-01" OutDate="2011-07-04" PropertyCode="GT;042934" RatePlanCode="RAC" RoomRate="134.00" RoomTypeCode="A06">
<CreditCard ExpirationDate="2012-05" IssuedName="John Doe" Number="4321432143214327" TypeIdentifier="VI"/>
<Guest FirstName="John" LastName="Doe" NumberOfAdults="2" NumberOfRooms="1" Primary="true" Remarks="VIP
guest" ServiceRequest="Quiet room on high floor please">
<Email Address="john.doe@pegs.com"/>
<Phone Number="0123456789"/>
<PostalAddress City="Brentford" CountryCode="GB" Line1="2 Kew Bridge Road" PostalCode="TW8 0JF" />
</Guest>
</BookReservation>
</Form>
</HotelML>

Response Message

The response then includes the confirmation number:

Last updated