Search code examples
sabre

Get Itinerary,passengerreservation as well as price quote for sabre getResarvationRQ


Header passegerReservation PriceQuote or ItineraryPricing using the GEtReservationRQ. below is a sample req which returns only pricequote

<ns7:GetReservationRQ xmlns:ns7="http://webservices.sabre.com/pnrbuilder/v1_19" Version="1.19.0">
    <ns7:Locator>IJKZUQ</ns7:Locator>
    <ns7:RequestType>Stateless</ns7:RequestType>
    <ns7:ReturnOptions PriceQuoteServiceVersion="3.2.0">
        <ns7:SubjectAreas>
            <ns7:SubjectArea>PRICE_QUOTE</ns7:SubjectArea>
        </ns7:SubjectAreas>
        <ns7:ViewName>Simple</ns7:ViewName>
        <ns7:ResponseFormat>STL</ns7:ResponseFormat>
    </ns7:ReturnOptions>
</ns7:GetReservationRQ>

Solution

  • You may use VaDefaultWithPq for the View parameter to retrieve priced itineraries list along with PNR info:

    <GetReservationRQ Version="1.19.0" xmlns="http://webservices.sabre.com/pnrbuilder/v1_19">
        <Locator>XXXXXX</Locator>
        <RequestType>Stateful</RequestType>
        <ReturnOptions>
            <ViewName>VaDefaultWithPq</ViewName>
            <ResponseFormat>STL</ResponseFormat>
        </ReturnOptions>
    </GetReservationRQ>
    

    Sabre user guide lists other possible view types as well: https://developer.sabre.com/docs/soap_apis/management/itinerary/Retrieve_Itinerary/resources