The Exchange Booking (ExchangeBookingRQ) API is used to update the itinerary and create a Price Quote Reissue (PQR) Record for a ticket exchange during a single API call.
Target Audience
Travel Agency
API Version
1.1.0
Authentication
Session or Sessionless Tokens
Service Action Code
ExchangeBookingRQ
Features
- Update an itinerary and store a Price Quote Reissue Record for a ticket exchange within a single API call
- Specify a price tolerance threshold for an Automated Exchanges Comparison response
- Return details of the generated Price Quote Reissue (PQR) record
- Manage sessions on behalf of the client application
- Handle errors to ensure the successful creation of a PQR
Sample Request
<ExchangeBookingRQ xmlns="http://services.sabre.com/sp/exchange/booking/v1_1" version="1.1.0">
<Itinerary id="PVSCGX">
<SegmentPricing>
<SegmentSelect number="1"/>
</SegmentPricing>
</Itinerary>
<Cancel>
<Segment Number="2"/>
</Cancel>
<AirBook>
<HaltOnStatus Code="HL"/>
<HaltOnStatus Code="KK"/>
<HaltOnStatus Code="LL"/>
<HaltOnStatus Code="NN"/>
<HaltOnStatus Code="NO"/>
<HaltOnStatus Code="UC"/>
<HaltOnStatus Code="US"/>
<OriginDestinationInformation>
<FlightSegment ArrivalDateTime="2023-02-14T11:02:00" DepartureDateTime="2023-02-14T08:00:00" FlightNumber="1164" NumberInParty="1" ResBookDesigCode="G" Status="NN">
<DestinationLocation LocationCode="PHX"/>
<MarketingAirline Code="AA" FlightNumber="1164"/>
<OriginLocation LocationCode="SFO"/>
</FlightSegment>
<FlightSegment ArrivalDateTime="2023-02-14T12:48:00" DepartureDateTime="2023-02-14T12:03:00" FlightNumber="1573" NumberInParty="1" ResBookDesigCode="G" Status="NN">
<DestinationLocation LocationCode="TUS"/>
<MarketingAirline Code="AA" FlightNumber="1573"/>
<OriginLocation LocationCode="PHX"/>
</FlightSegment>
</OriginDestinationInformation>
</AirBook>
<AutomatedExchanges>
<ExchangeComparison OriginalTicketNumber="0017862629606">
<PriceRequestInformation>
<OptionalQualifiers>
<PricingQualifiers>
<NameSelect NameNumber="1.1"/>
</PricingQualifiers>
</OptionalQualifiers>
</PriceRequestInformation>
</ExchangeComparison>
<PriceComparison amountSpecified="-793.50">
<AcceptablePriceIncrease haltOnNonAcceptablePrice="false">
<Percent>1</Percent>
</AcceptablePriceIncrease>
<AcceptablePriceDecrease haltOnNonAcceptablePrice="false">
<Percent>1</Percent>
</AcceptablePriceDecrease>
</PriceComparison>
</AutomatedExchanges>
<PostProcessing returnPQRInfo="true">
<EndTransaction>
<Source ReceivedFrom="SP TEST"/>
</EndTransaction>
</PostProcessing>
</ExchangeBookingRQ>
<Itinerary id="PVSCGX">
<SegmentPricing>
<SegmentSelect number="1"/>
</SegmentPricing>
</Itinerary>
<Cancel>
<Segment Number="2"/>
</Cancel>
<AirBook>
<HaltOnStatus Code="HL"/>
<HaltOnStatus Code="KK"/>
<HaltOnStatus Code="LL"/>
<HaltOnStatus Code="NN"/>
<HaltOnStatus Code="NO"/>
<HaltOnStatus Code="UC"/>
<HaltOnStatus Code="US"/>
<OriginDestinationInformation>
<FlightSegment ArrivalDateTime="2023-02-14T11:02:00" DepartureDateTime="2023-02-14T08:00:00" FlightNumber="1164" NumberInParty="1" ResBookDesigCode="G" Status="NN">
<DestinationLocation LocationCode="PHX"/>
<MarketingAirline Code="AA" FlightNumber="1164"/>
<OriginLocation LocationCode="SFO"/>
</FlightSegment>
<FlightSegment ArrivalDateTime="2023-02-14T12:48:00" DepartureDateTime="2023-02-14T12:03:00" FlightNumber="1573" NumberInParty="1" ResBookDesigCode="G" Status="NN">
<DestinationLocation LocationCode="TUS"/>
<MarketingAirline Code="AA" FlightNumber="1573"/>
<OriginLocation LocationCode="PHX"/>
</FlightSegment>
</OriginDestinationInformation>
</AirBook>
<AutomatedExchanges>
<ExchangeComparison OriginalTicketNumber="0017862629606">
<PriceRequestInformation>
<OptionalQualifiers>
<PricingQualifiers>
<NameSelect NameNumber="1.1"/>
</PricingQualifiers>
</OptionalQualifiers>
</PriceRequestInformation>
</ExchangeComparison>
<PriceComparison amountSpecified="-793.50">
<AcceptablePriceIncrease haltOnNonAcceptablePrice="false">
<Percent>1</Percent>
</AcceptablePriceIncrease>
<AcceptablePriceDecrease haltOnNonAcceptablePrice="false">
<Percent>1</Percent>
</AcceptablePriceDecrease>
</PriceComparison>
</AutomatedExchanges>
<PostProcessing returnPQRInfo="true">
<EndTransaction>
<Source ReceivedFrom="SP TEST"/>
</EndTransaction>
</PostProcessing>
</ExchangeBookingRQ>
Sample Response
<?xml version="1.0"?>
<ExchangeBookingRS xmlns="http://services.sabre.com/sp/exchange/booking/v1_1">
<ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" xmlns:ns2="http://services.sabre.com/essm/diagnostic/v1" xmlns:ns3="http://services.sabre.com/essm/core/v1" xmlns:ns4="http://services.sabre.com/STL_Payload/v02_02" xmlns:ns5="http://opentravel.org/common/v02" xmlns:ns6="http://opentravel.org/common/message/v02" xmlns:ns7="http://services.sabre.com/sp/ssp/v1" xmlns:ns8="http://services.sabre.com/STL_Header/v02_02" xmlns:ns9="http://services.sabre.com/STL_Header/v120" xmlns:ns10="http://services.sabre.com/essm/session/v1" xmlns:ns11="http://services.sabre.com/STL_Header/v02_01" xmlns:ns12="http://webservices.sabre.com/servicesplatform/eiapi/1.0.0" xmlns:ns13="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" xmlns:ns14="http://services.sabre.com/sp/preferences/v1" xmlns:ns15="http://services.sabre.com/STL/v01" xmlns:ns16="http://services.sabre.com/ssse/trace/v01" status="Complete">
<Success timeStamp="2023-01-09T15:54:00.358+01:00"/>
</ApplicationResults>
<ExchangeConfirmation PQR_Number="02">
<PriceComparison amountSpecified="-793.50" amountReturned="-375.21"/>
</ExchangeConfirmation>
<PriceQuoteReissue PQR_Number="2">
<MiscInformation>
<BaggageFees>
<Text>BAG ALLOWANCE -SFOLAX-NIL/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>1STCHECKED BAG FEE-SFOLAX-USD30.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>2NDCHECKED BAG FEE-SFOLAX-USD40.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>BAG ALLOWANCE -SFOTUS-NIL/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>1STCHECKED BAG FEE-SFOTUS-USD30.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>2NDCHECKED BAG FEE-SFOTUS-USD40.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>**BAG FEES APPLY AT EACH CHECK IN LOCATION</Text>
</BaggageFees>
<BaggageFees>
<Text>CARRY ON ALLOWANCE</Text>
</BaggageFees>
<BaggageFees>
<Text>SFOLAX SFOPHX PHXTUS-02P/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>01/UP TO 40 LINEAR INCHES/101 LINEAR CENTIMETERS</Text>
</BaggageFees>
<BaggageFees>
<Text>01/UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS</Text>
</BaggageFees>
<BaggageFees>
<Text>ADDITIONAL ALLOWANCES AND/OR DISCOUNTS MAY APPLY DEPENDING ON</Text>
</BaggageFees>
<BaggageFees>
<Text>FLYER-SPECIFIC FACTORS /E.G. FREQUENT FLYER STATUS/MILITARY/</Text>
</BaggageFees>
<BaggageFees>
<Text>CREDIT CARD FORM OF PAYMENT/EARLY PURCHASE OVER INTERNET,ETC./</Text>
</BaggageFees>
<BaggageFees>
<Text>EMBARGOES-APPLY TO EACH PASSENGER</Text>
</BaggageFees>
<BaggageFees>
<Text>SFOLAX SFOPHX PHXTUS-AA</Text>
</BaggageFees>
<BaggageFees>
<Text>OVER 100 POUNDS/45 KILOGRAMS NOT PERMITTED</Text>
</BaggageFees>
<SignatureLine HomePseudoCityCode="G7HE" CreateDateTime="2023-01-09T08:53" CreationAgent="AWT" PseudoCityCode="G7HE" Source="SYS"/>
</MiscInformation>
<PricedItinerary InputMessage="WFRF">
<AirItineraryPricingInfo>
<ExchangeDetails CurrencyCode="USD" DocNumber="0017862629606" TicketValue="1297.81" PQR_Status="E">
<ChangeFeeInformation Amount="N/A"/>
<PersonName>
<Surname>DZIK/WIELGACHNY</Surname>
</PersonName>
<Text>RESIDUAL APPLIED TO PENALTY PER RULE 375.21</Text>
<Text>RESIDUAL AMT REFUNDABLE PER RULE 375.21</Text>
<Text>RESIDUAL IS NOT PERMITTED TO ORIGINAL FORM OF PAYMENT</Text>
<TransactionInformation CurrencyCode="USD" Amount="0.00">
<Text>EVEN</Text>
</TransactionInformation>
</ExchangeDetails>
<FareCalculation>
<Text>SFO AA LAX589.77/-SFO AA X/PHX AA TUS236.28USD826.05END ZPSF</Text>
<Text>OSFOPHX XFSFO4.5SFO4.5</Text>
</FareCalculation>
<ItinTotalFare>
<BaseFare CurrencyCode="USD" Amount="826.05"/>
<Taxes TaxCode="XT" TotalAmount="96.55">
<Tax TaxCode="ZP" Amount="14.40"/>
<Tax TaxCode="AY" Amount="11.20"/>
<Tax TaxCode="US" Amount="61.95"/>
<Tax TaxCode="XF" Amount="9.00"/>
</Taxes>
<TotalFare CurrencyCode="USD" Amount="922.60"/>
</ItinTotalFare>
<PassengerTypeQuantity Quantity="01" Code="ADT"/>
<PTC_FareBreakdown>
<FlightSegment DepartureDateTime="02-08T11:45" ConnectionInd="O" FlightNumber="3147" ResBookDesigCode="Y" RPH="01">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="B0AHZNN1"/>
<MarketingAirline FlightNumber="3147" Code="AA"/>
<OriginLocation LocationCode="SFO"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment RPH="02">
<FareBasis Code="VOID"/>
<OriginLocation LocationCode="LAX"/>
</FlightSegment>
<FlightSegment DepartureDateTime="02-14T08:05" ConnectionInd="O" FlightNumber="1164" ResBookDesigCode="G" RPH="03">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="GVAHZSN1"/>
<MarketingAirline FlightNumber="1164" Code="AA"/>
<OriginLocation LocationCode="SFO"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment DepartureDateTime="02-14T12:03" ConnectionInd="O" FlightNumber="1573" ResBookDesigCode="G" RPH="04">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="GVAHZSN1"/>
<MarketingAirline FlightNumber="1573" Code="AA"/>
<OriginLocation LocationCode="PHX"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment>
<OriginLocation LocationCode="TUS"/>
</FlightSegment>
</PTC_FareBreakdown>
<ResTicketingRestrictions>01-10</ResTicketingRestrictions>
</AirItineraryPricingInfo>
</PricedItinerary>
<ResponseHeader>
<Text>VALIDATING CARRIER SPECIFIED - AA</Text>
<Text>USD826.05 NONREFUNDABLE</Text>
<Text>NONREF/FAREDIF/CXL BY FLT TIME OR NOVALUE</Text>
<Text>VALIDATING CARRIER-AA</Text>
</ResponseHeader>
</PriceQuoteReissue>
</ExchangeBookingRS>
<ExchangeBookingRS xmlns="http://services.sabre.com/sp/exchange/booking/v1_1">
<ApplicationResults xmlns="http://services.sabre.com/STL_Payload/v02_01" xmlns:ns2="http://services.sabre.com/essm/diagnostic/v1" xmlns:ns3="http://services.sabre.com/essm/core/v1" xmlns:ns4="http://services.sabre.com/STL_Payload/v02_02" xmlns:ns5="http://opentravel.org/common/v02" xmlns:ns6="http://opentravel.org/common/message/v02" xmlns:ns7="http://services.sabre.com/sp/ssp/v1" xmlns:ns8="http://services.sabre.com/STL_Header/v02_02" xmlns:ns9="http://services.sabre.com/STL_Header/v120" xmlns:ns10="http://services.sabre.com/essm/session/v1" xmlns:ns11="http://services.sabre.com/STL_Header/v02_01" xmlns:ns12="http://webservices.sabre.com/servicesplatform/eiapi/1.0.0" xmlns:ns13="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" xmlns:ns14="http://services.sabre.com/sp/preferences/v1" xmlns:ns15="http://services.sabre.com/STL/v01" xmlns:ns16="http://services.sabre.com/ssse/trace/v01" status="Complete">
<Success timeStamp="2023-01-09T15:54:00.358+01:00"/>
</ApplicationResults>
<ExchangeConfirmation PQR_Number="02">
<PriceComparison amountSpecified="-793.50" amountReturned="-375.21"/>
</ExchangeConfirmation>
<PriceQuoteReissue PQR_Number="2">
<MiscInformation>
<BaggageFees>
<Text>BAG ALLOWANCE -SFOLAX-NIL/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>1STCHECKED BAG FEE-SFOLAX-USD30.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>2NDCHECKED BAG FEE-SFOLAX-USD40.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>BAG ALLOWANCE -SFOTUS-NIL/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>1STCHECKED BAG FEE-SFOTUS-USD30.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>2NDCHECKED BAG FEE-SFOTUS-USD40.00/AA/UP TO 50 POUNDS/23 KILOGR</Text>
</BaggageFees>
<BaggageFees>
<Text>AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS**</Text>
</BaggageFees>
<BaggageFees>
<Text>**BAG FEES APPLY AT EACH CHECK IN LOCATION</Text>
</BaggageFees>
<BaggageFees>
<Text>CARRY ON ALLOWANCE</Text>
</BaggageFees>
<BaggageFees>
<Text>SFOLAX SFOPHX PHXTUS-02P/AA</Text>
</BaggageFees>
<BaggageFees>
<Text>01/UP TO 40 LINEAR INCHES/101 LINEAR CENTIMETERS</Text>
</BaggageFees>
<BaggageFees>
<Text>01/UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS</Text>
</BaggageFees>
<BaggageFees>
<Text>ADDITIONAL ALLOWANCES AND/OR DISCOUNTS MAY APPLY DEPENDING ON</Text>
</BaggageFees>
<BaggageFees>
<Text>FLYER-SPECIFIC FACTORS /E.G. FREQUENT FLYER STATUS/MILITARY/</Text>
</BaggageFees>
<BaggageFees>
<Text>CREDIT CARD FORM OF PAYMENT/EARLY PURCHASE OVER INTERNET,ETC./</Text>
</BaggageFees>
<BaggageFees>
<Text>EMBARGOES-APPLY TO EACH PASSENGER</Text>
</BaggageFees>
<BaggageFees>
<Text>SFOLAX SFOPHX PHXTUS-AA</Text>
</BaggageFees>
<BaggageFees>
<Text>OVER 100 POUNDS/45 KILOGRAMS NOT PERMITTED</Text>
</BaggageFees>
<SignatureLine HomePseudoCityCode="G7HE" CreateDateTime="2023-01-09T08:53" CreationAgent="AWT" PseudoCityCode="G7HE" Source="SYS"/>
</MiscInformation>
<PricedItinerary InputMessage="WFRF">
<AirItineraryPricingInfo>
<ExchangeDetails CurrencyCode="USD" DocNumber="0017862629606" TicketValue="1297.81" PQR_Status="E">
<ChangeFeeInformation Amount="N/A"/>
<PersonName>
<Surname>DZIK/WIELGACHNY</Surname>
</PersonName>
<Text>RESIDUAL APPLIED TO PENALTY PER RULE 375.21</Text>
<Text>RESIDUAL AMT REFUNDABLE PER RULE 375.21</Text>
<Text>RESIDUAL IS NOT PERMITTED TO ORIGINAL FORM OF PAYMENT</Text>
<TransactionInformation CurrencyCode="USD" Amount="0.00">
<Text>EVEN</Text>
</TransactionInformation>
</ExchangeDetails>
<FareCalculation>
<Text>SFO AA LAX589.77/-SFO AA X/PHX AA TUS236.28USD826.05END ZPSF</Text>
<Text>OSFOPHX XFSFO4.5SFO4.5</Text>
</FareCalculation>
<ItinTotalFare>
<BaseFare CurrencyCode="USD" Amount="826.05"/>
<Taxes TaxCode="XT" TotalAmount="96.55">
<Tax TaxCode="ZP" Amount="14.40"/>
<Tax TaxCode="AY" Amount="11.20"/>
<Tax TaxCode="US" Amount="61.95"/>
<Tax TaxCode="XF" Amount="9.00"/>
</Taxes>
<TotalFare CurrencyCode="USD" Amount="922.60"/>
</ItinTotalFare>
<PassengerTypeQuantity Quantity="01" Code="ADT"/>
<PTC_FareBreakdown>
<FlightSegment DepartureDateTime="02-08T11:45" ConnectionInd="O" FlightNumber="3147" ResBookDesigCode="Y" RPH="01">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="B0AHZNN1"/>
<MarketingAirline FlightNumber="3147" Code="AA"/>
<OriginLocation LocationCode="SFO"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment RPH="02">
<FareBasis Code="VOID"/>
<OriginLocation LocationCode="LAX"/>
</FlightSegment>
<FlightSegment DepartureDateTime="02-14T08:05" ConnectionInd="O" FlightNumber="1164" ResBookDesigCode="G" RPH="03">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="GVAHZSN1"/>
<MarketingAirline FlightNumber="1164" Code="AA"/>
<OriginLocation LocationCode="SFO"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment DepartureDateTime="02-14T12:03" ConnectionInd="O" FlightNumber="1573" ResBookDesigCode="G" RPH="04">
<BaggageAllowance Number="NIL"/>
<FareBasis Code="GVAHZSN1"/>
<MarketingAirline FlightNumber="1573" Code="AA"/>
<OriginLocation LocationCode="PHX"/>
<ValidityDates>
<NotValidAfter>2024-02-08</NotValidAfter>
</ValidityDates>
</FlightSegment>
<FlightSegment>
<OriginLocation LocationCode="TUS"/>
</FlightSegment>
</PTC_FareBreakdown>
<ResTicketingRestrictions>01-10</ResTicketingRestrictions>
</AirItineraryPricingInfo>
</PricedItinerary>
<ResponseHeader>
<Text>VALIDATING CARRIER SPECIFIED - AA</Text>
<Text>USD826.05 NONREFUNDABLE</Text>
<Text>NONREF/FAREDIF/CXL BY FLT TIME OR NOVALUE</Text>
<Text>VALIDATING CARRIER-AA</Text>
</ResponseHeader>
</PriceQuoteReissue>
</ExchangeBookingRS>