Book Hotel Reservation

 

The Book Hotel Reservation API is used to reserve one or more hotel rooms and create a hotel segment in a passenger name record, (PNR). This API allows client applications to sell a hotel reservation from a hotel description. A PNR containing at least a name and an address must be in the current session/Sabre work area. To reserve a room from a hotel description, the client application must obtain the pertinent line number from the Hotel Property Description API response message

API Information

Target Audience
All Sabre APIs Customers
Current Version
2.2.0
Authentication
Session Token
Service Action Code
OTA_HotelResLLSRQ

Using this API, you can book a hotel and specify:

  • Confirmation number
  • Passenger name number association
  • Frequent flyer number
  • Corporate ID number
  • An ID number
  • Number of cribs
  • Number of extra guests
  • Number of rollaways
  • The booking source
  • Special request-related information
  • Plus, several other parameters

Sample request

<OTA_HotelResRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.2.0">
    <Hotel>
        <BasicPropertyInfo RPH="2" />
        <Guarantee Type="GDPST">
            <CC_Info>
                <PaymentCard Code="AX" ExpireDate="2012-12" Number="1234567890" />
                <PersonName>
                    <Surname>TEST</Surname>
                </PersonName>
            </CC_Info>
        </Guarantee>
        <RoomType NumberOfUnits="1" />
        <SpecialPrefs>
            <WrittenConfirmation Ind="true" />
        </SpecialPrefs>
    </Hotel>
</OTA_HotelResRQ>

Sample response

<OTA_HotelResRS xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01" Version="2.2.0">
    <stl:ApplicationResults status="Complete">
        <stl:Success timeStamp="2013-04-16T10:45:00-06:00" />
    </stl:ApplicationResults>
    <Hotel NumberInParty="2" NumberOfUnits="1" SegmentNumber="4" Status="HK">
        <BasicPropertyInfo ChainCode="HG" HotelCityCode="DFW" HotelCode="24551" HotelName="HOMEWOOD SUITES DAL">
            <CancelPenalty PolicyCode="C24H" />
        </BasicPropertyInfo>
        <Guarantee>XX4000000000006EXP 12 12-TEST</Guarantee>
        <RoomRates>
            <Rate Amount="149.00" CurrencyCode="USD" DCS_AuxRateCode="A03LV2">
                <AdditionalGuestAmounts>
                    <AdditionalGuestAmount>
                        <Charges CurrencyCode="USD" />
                    </AdditionalGuestAmount>
                </AdditionalGuestAmounts>
            </Rate>
        </RoomRates>
        <SpecialPrefs>
            <WrittenConfirmation Ind="false" />
        </SpecialPrefs>
        <Text>24551 ARR21NOV 24 HR CANCELLATION REQUIRED</Text>
        <Text>24551 ARR21NOV GUARANTEED BY CREDIT CARD</Text>
        <Text>RATE CHG 23NOV: 99.00</Text>
        <Text>HOMEWOOD SUITES BROWNSVILLE TEXAS</Text>
        <Text>OFFERING DISCOUNTED WEEKDAY AND WEEKEND RATES</Text>
        <TimeSpan Duration="3" End="11-24" Start="11-21" />
    </Hotel>
</OTA_HotelResRS>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation