Auto Price Air Exchanges

 

AutomatedExchangesLLSRQ is used to price an air ticket exchange.

API Information

Target Audience
All Sabre APIs Customers
Current Version
2.6.0
Authentication
Session Token
Service Action Code
AutomatedExchangesLLSRQ

This service is marketed to customers as Automated Exchanges (formerly QREX Plus). AutomatedExchangesLLSRQ is the replacement for the QREXLLSRQ service. The AutomatedExchangesLLSRQ service is available to ARC-based subscribers, and to over 80 BSP countries globally, as well as for Direct Ticketing carriers on select markets. Clients need to first validate that the service is available in their market before attempting to utilize it.

The most common AutomatedExchangesLLSRQ workflow is to change an itinerary within an existing booking. Clients wishing to exchange a ticket first need to retrieve the PNR utilizing the TravelItineraryReadLLSRQ service, cancel the existing itinerary using the OTA_CancelLLSRQ service, and then use the OTA_AirBookLLSRQ, or EnhancedAirBookRQ services to sell a new air itinerary.

Once the new air itinerary is successfully sold, the client can then utilize AutomatedExchangesLLSRQ to price the exchange using the .../ExchangeComparision node specifying the original ticket number via .../ExchangeComparision@OriginalTicketNumber. Please note that clients need to keep track of the .../ExchangeComparison@PQR_Number element/attribute returned via the initial AutomatedExchangesLLSRQ response message since this is the key to successfully storing the exchange, and ultimately driving the exchange. The .../ExchangeComparison@PQR_Number is used to represent the PQR number within the PNR.

After a successful, initial …/ExchangeComparison-based request if the client finds the returned pricing information satisfactory the client can then utilize the .../ExchangeConfirmation node specifying the .../ExchangeConformation@PQR_Number returned in the initial AutomatedExchangesLLSRQ response as the .../ExchangeConfirmation@PQR_Number to store the exchange/refund for subsequent ticketing. Once the exchange is successfully stored the client can then end and retrieve the PNR using the EndTransactionLLSRQ and TravelItineraryReadLLSRQ services, and then use the AirTicketLLSRQ service to drive the actual exchange using the .../OptionalQualifiers/PricingQualifiers/PriceQuote@ReissueNumber element/attribute.

If the client finds the returned pricing information unsatisfactory after the initial .../ExchangeComparison-based request the PNR should be ignored by calling the IgnoreTransactionLLSRQ service to return the itinerary/PNR to the state it was in at time of initial PNR retrieval.

For additional information please refer to the Format Finder Help System reference: qrxfo200.

Please note that TravelItineraryReadRQ is required prior to executing AutomatedExchangesLLSRQ.

Sample Request

<AutomatedExchangesRQ TimeStamp="2016-11-22T10:15:00-06:00" Version="2.6.0" 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">
    <ExchangeComparison OriginalTicketNumber="0017867022836">
        <PriceRequestInformation>
            <OptionalQualifiers>
                <PricingQualifiers AlternateCurrencyCode="USD">
                    <ItineraryOptions>
                        <SegmentSelect Number="1" />
                    </ItineraryOptions>
                    <NameSelect NameNumber="1.1" />
                </PricingQualifiers>
            </OptionalQualifiers>
        </PriceRequestInformation>
    </ExchangeComparison>
</AutomatedExchangesRQ>

Sample Response

<AutomatedExchangesRS 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.6.0">
    <stl:ApplicationResults status="Complete">
        <stl:Success timeStamp="2016-11-22T05:40:39-06:00" />
    </stl:ApplicationResults>
    <BaggageInfo>
        <FlightSegment ArrivalDateTime="02-20" DepartureDateTime="02-20" FlightNumber="2404" RPH="1" ResBookDesigCode="F" SegmentNumber="1">
            <DestinationLocation LocationCode="LAX" />
            <FreeBaggageAllowance Number="03P" />
            <MarketingAirline Code="AA" FlightNumber="2404" />
            <OriginLocation LocationCode="DFW" />
        </FlightSegment>
        <Text>BAG ALLOWANCE -DFWLAX-03P/AA/EACH PIECE UP TO 70 POUNDS/32</Text>
        <Text>KILOGRAMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS</Text>
        <Text>CARRY ON ALLOWANCE</Text>
        <Text>DFWLAX-02P/AA</Text>
        <Text>01/SMALL PERSONAL ITEM</Text>
        <Text>01/UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS</Text>
        <Text>ADDITIONAL ALLOWANCES AND/OR DISCOUNTS MAY APPLY DEPENDING ON</Text>
        <Text>FLYER-SPECIFIC FACTORS /E.G. FREQUENT FLYER STATUS/MILITARY/</Text>
        <Text>CREDIT CARD FORM OF PAYMENT/EARLY PURCHASE OVER INTERNET,ETC./</Text>
        <Text>EMBARGOES-APPLY TO EACH PASSENGER</Text>
        <Text>DFWLAX-AA</Text>
        <Text>OVER 100 POUNDS/45 KILOGRAMS NOT PERMITTED</Text>
    </BaggageInfo>
    <ExchangeComparison PQR_Number="03">
        <AirItineraryPricingInfo Type="O">
            <ItinTotalFare>
                <BaseFare Amount="6647.44" CurrencyCode="USD" />
                <Taxes TotalAmount="512.66" />
                <TotalFare Amount="7160.10" />
            </ItinTotalFare>
        </AirItineraryPricingInfo>
        <AirItineraryPricingInfo Type="N">
            <ItinTotalFare>
                <BaseFare Amount="6647.44" CurrencyCode="USD" />
                <Taxes TotalAmount="512.66" />
                <TotalFare Amount="7160.10" />
            </ItinTotalFare>
        </AirItineraryPricingInfo>
        <AirItineraryPricingInfo Type="E">
            <ItinTotalFare>
                <BaseFare Amount="0.00" CurrencyCode="USD" />
                <Taxes TotalAmount="0.00" />
                <TotalFare Amount="0.00" />
            </ItinTotalFare>
        </AirItineraryPricingInfo>
        <TaxComparison Type="O">
            <Tax Amount="498.56" TaxCode="US" />
            <Tax Amount="4.00" TaxCode="ZP" />
            <Tax Amount="5.60" TaxCode="AY" />
        </TaxComparison>
        <TaxComparison Type="O">
            <Tax Amount="4.50" TaxCode="XF" />
        </TaxComparison>
        <TaxComparison Type="N">
            <Tax Amount="498.56" TaxCode="US" />
            <Tax Amount="4.00" TaxCode="ZP" />
            <Tax Amount="5.60" TaxCode="AY" />
        </TaxComparison>
        <TaxComparison Type="N">
            <Tax Amount="4.50" TaxCode="XF" />
        </TaxComparison>
        <TaxComparison Type="E">
            <Tax Amount="0.00" TaxCode="US" />
            <Tax Amount="0.00" TaxCode="ZP" />
            <Tax Amount="0.00" TaxCode="AY" />
        </TaxComparison>
        <TaxComparison Type="E">
            <Tax Amount="0.00" TaxCode="XF" />
        </TaxComparison>
        <ExchangeDetails CancellationPenalty="N/A" ExchangeReissue="R" TotalRefund="0.00">
            <ChangeFeeCollectionOptions>
                <CancelPenaltyFees>
                    <Taxes>
                        <Tax Amount="100.00" TaxCode="US" />
                    </Taxes>
                </CancelPenaltyFees>
            </ChangeFeeCollectionOptions>
            <Category35NetFare>
                <FareInformation TicketedFareLevel="NET" Type="O">
                    <BaseFare Amount="890.10" CurrencyCode="USD" />
                    <TotalTax Amount="150.70" CurrencyCode="USD" />
                    <TotalFare Amount="940.80" CurrencyCode="USD" />
                    <TaxInformation Type="O">
                        <Tax Amount="52.60" TaxCode="US" />
                    </TaxInformation>
                </FareInformation>
            </Category35NetFare>
        </ExchangeDetails>
    </ExchangeComparison>
    <Source AgencyCity="DFW" AgentDutySine="ASP*" AgentWorkArea="A" CreateDateTime="2016-11-22T05:40" PrimeHostID="1S" PseudoCityCode="G7HE" />
    <Text>REISSUE PRICE NOT GUARANTEED UNTIL RE-TICKETED</Text>
</AutomatedExchangesRS>

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

Docs Navigation