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="[email protected]"/>
<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:
<HotelML xmlns="http://www.xpegs.com/v2001Q3/HotelML">
<Head>
<Route Destination="01" Source="00">
<Operation Action="Create" App="TIDispatcher" AppVer="1.12.40.2.8.1" DataPath="/HotelML" StartTime="2011-06-
03T12:01:24.015+00:00" Success="true" TotalProcessTime="497"/>
</Route>
</Head>
<Reservation BookedRate="134.00" ConfirmationNumber="312919307911" CurrencyCode="EUR" HotelComments="VIP GUEST" HotelRoomType="A06RAC" InDate="2011-07-01" NumberOfPersons="2" OutDate="2011-07-04" PropertyCode="GT;042934"
RateGuaranteed="true" RatePlanCode="RAC" RoomTypeCode="A06" Token="1307101856910">
<CancelPolicy Description="CANCEL BY 1400 20110630 LOCAL PROPERTY TIME"/>
<GuaranteePolicy Description="CREDIT CARD GTD"/>
<Guest FirstName="John" LastName="Doe" NumberOfAdults="2" NumberOfRooms="1" Primary="true" Remarks="VIP guest" ServiceRequest="Quiet room on hig floor please">
<Email Address="[email protected]"/>
<Phone Number="0123456789"/>
<PostalAddress City="Brentford" CountryCode="GB" Line1="2 Kew Bridge Road" PostalCode="TW8 0JF" StateCode="-
Select-"/>
</Guest>
</Reservation>
</HotelML>
Last updated