Search for Itineraries

 

Once a PNR has been created on the Sabre® Host the Trip_SearchRQ Web Service offers functionality to allow the Airline or Agency to search for PNRs by many different criteria. It is the equivalent of the Sabre *-name command .The request can be further detailed by the ReturnOption section which specifies content of the return message.

API Information

Target Audience
All Sabre APIs Customers
Current Version
4.3.0
Authentication
Session Token
Service Action Code
Trip_SearchRQ

Trip_SearchRQ provides the capability for Hosted Carriers to retrieve PNR data in either OTA or STL formats and the search criteria include:

  1. Flight date or date ranges , Flight Number, Operating Carrier, Marketing Carrier, Status Codes, Countries, Cities
  2. Specific SSR codes
  3. Frequent Flier Programs, Frequent Flier Numbers
  4. Phone Numbers
  5. Ticket Numbers
  6. Form of ID, Passport, Driving License
  7. Secure Flight Passenger Data (SFPD)

Please check the User Guide for more options.

Sample Request

<Trip_SearchRQ Version="4.3.0" xmlns:ns2="http://webservices.sabre.com/sabreXML/2003/07" xmlns="http://webservices.sabre.com/triprecord">
    <ReadRequests>
        <ReservationReadRequest>
            <LocatorCriteria>
                <Locator Id="ABCDEF" />
            </LocatorCriteria>
            <NameCriteria>
                <Name>
                    <LastName MatchMode="SIMILAR">KOWALSKI</LastName>
                </Name>
            </NameCriteria>
            <PosCriteria AnyBranch="false">
                <Pcc>B4T0</Pcc>
            </PosCriteria>
            <ReturnOptions ResponseFormat="STL" ViewName="TripSearchTN" SearchType="ACTIVE" MaxItemsReturned="10">
                <SubjectAreas>
                    <SubjectArea>NAME</SubjectArea>
                </SubjectAreas>
            </ReturnOptions>
        </ReservationReadRequest>
    </ReadRequests>
</Trip_SearchRQ>

Sample Response

<Trip_SearchRS TimeStamp="2017-03-03T05:56:20" Target="Production" Version="4.3.0" xmlns="http://webservices.sabre.com/triprecord" xmlns:ns2="http://services.sabre.com/STL/v01" xmlns:ns4="http://webservices.sabre.com/sabreXML/2003/07" xmlns:ns3="http://webservices.sabre.com/pnrbuilder" xmlns:ns6="http://tds.sabre.com/itinerary" xmlns:ns5="http://tds.sabre.com/rules" xmlns:ns8="http://services.sabre.com/STL/v02" xmlns:ns7="http://services.sabre.com/res/orr/v0" xmlns:ns13="http://www.sabre.com/eps/schemas" xmlns:tir37="http://services.sabre.com/res/tir/v3_7" xmlns:ns12="http://opentravel.org/common/v02" xmlns:ns9="http://www.sabre.com/ssg/des/v1" xmlns:ns11="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" xmlns:ns10="http://services.sabre.com/STL_Header/v02_00" xmlns:stl114="http://webservices.sabre.com/pnrbuilder/v1_14" xmlns:ns15="http://webservices.sabre.com/servicesplatform/orr/rules/1.0.0" xmlns:ns14="http://tds.sabre.com/distribution" xmlns:or16="http://services.sabre.com/res/or/v1_6" xmlns:or17="http://services.sabre.com/res/or/v1_7">
    <Success>Success</Success>
    <ReservationsList NumberResults="1" NumberPages="1" TotalResults="1">
        <Reservations>
            <Reservation Locator="ABCDEF">
                <ns3:GetReservationRS>
                    <ns3:Reservation>
                        <ns3:BookingDetails>
                            <ns3:RecordLocator>ABCDEF</ns3:RecordLocator>
                            <ns3:CreationTimestamp>2017-01-03T02:21:00</ns3:CreationTimestamp>
                            <ns3:FlightsRange Start="2017-02-20T12:00:00" End="2017-02-20T15:27:00" />
                        </ns3:BookingDetails>
                        <ns3:POS>
                            <ns3:Source PseudoCityCode="B4T0" AirlineVendorID="AA" />
                        </ns3:POS>
                        <ns3:PassengerReservation>
                            <ns3:Passengers>
                                <ns3:Passenger nameId="02.01">
                                    <ns3:LastName>KOWALSKA</ns3:LastName>
                                    <ns3:FirstName>ANNA MRS</ns3:FirstName>
                                </ns3:Passenger>
                                <ns3:Passenger nameId="01.01">
                                    <ns3:LastName>KOWALSKI</ns3:LastName>
                                    <ns3:FirstName>JAN MR</ns3:FirstName>
                                </ns3:Passenger>
                                <ns3:Passenger nameId="03.01">
                                    <ns3:LastName>KOWALSKI</ns3:LastName>
                                    <ns3:FirstName>WOJCIECH</ns3:FirstName>
                                </ns3:Passenger>
                            </ns3:Passengers>
                        </ns3:PassengerReservation>
                    </ns3:Reservation>
                </ns3:GetReservationRS>
            </Reservation>
        </Reservations>
    </ReservationsList>
</Trip_SearchRS>

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

Docs Navigation