Exchange Booking

Orchestrated APIs bundle several functions and operations into a single API call thus maximizing development efforts, and providing operational efficiencies by calling multiple services to fulfill a desired workflow. Features in the Exchange Booking API include:

  • Provides the capability to update the itinerary and create a Price Quote Reissue Record for a ticket exchange in a single API call.
  • Provides the capability to specify a price tolerance threashold for the Automated Exchanges Comparison response.
  • Returns details of the generated Price Quote Reissue record.
  • Manages sessions on behalf of the client application.
  • Introduces error handling to ensure the successful issuance of a PQR.
  • Handles Context change/AAA.

API Information

Target Audience
All Sabre APIs Customers
Current Version
v1.0.0
Authentication
Sessionless Token
Methods/Endpoints
POST /v1.0.0/exchange/booking

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

Resources

Overall response links

Links
array
self
object
Returns the URL of the request that generated the response
linkTemplate
Formats an API request with placeholders for required and optional query parameters

Sample request

https://api.havail.sabre.com/v1.0.0/exchange/booking
{
  "ExchangeBookingRQ" : {
    "version" : "1.0.0",
    "Itinerary" : {
      "id" : "TNJBGO"
    },
    "Cancel" : {
      "Segment" : [ {
        "Number" : 1
      }, {
        "Number" : 2
      } ]
    },
    "AirBook" : {
      "HaltOnStatus" : [ {
        "Code" : "HL"
      }, {
        "Code" : "KK"
      }, {
        "Code" : "LL"
      }, {
        "Code" : "NN"
      }, {
        "Code" : "NO"
      }, {
        "Code" : "UC"
      }, {
        "Code" : "US"
      } ],
      "OriginDestinationInformation" : {
        "FlightSegment" : [ {
          "ArrivalDateTime" : "2018-06-28T18:30:00",
          "DepartureDateTime" : "2018-06-28T17:00:00",
          "FlightNumber" : "1909",
          "NumberInParty" : "1",
          "ResBookDesigCode" : "G",
          "Status" : "NN",
          "DestinationLocation" : {
            "LocationCode" : "SFO"
          },
          "MarketingAirline" : {
            "Code" : "AS",
            "FlightNumber" : "1909"
          },
          "OriginLocation" : {
            "LocationCode" : "LAS"
          }
        }, {
          "ArrivalDateTime" : "2018-06-28T21:47:00",
          "DepartureDateTime" : "2018-06-28T19:45:00",
          "FlightNumber" : "335",
          "NumberInParty" : "1",
          "ResBookDesigCode" : "S",
          "Status" : "NN",
          "DestinationLocation" : {
            "LocationCode" : "SEA"
          },
          "MarketingAirline" : {
            "Code" : "AS",
            "FlightNumber" : "335"
          },
          "OriginLocation" : {
            "LocationCode" : "SFO"
          }
        }, {
          "ArrivalDateTime" : "2018-06-29T05:14:00",
          "DepartureDateTime" : "2018-06-28T23:30:00",
          "FlightNumber" : "660",
          "NumberInParty" : "1",
          "ResBookDesigCode" : "V",
          "Status" : "NN",
          "DestinationLocation" : {
            "LocationCode" : "DFW"
          },
          "MarketingAirline" : {
            "Code" : "AS",
            "FlightNumber" : "660"
          },
          "OriginLocation" : {
            "LocationCode" : "SEA"
          }
        }, {
          "ArrivalDateTime" : "2018-07-15T08:50:00",
          "DepartureDateTime" : "2018-07-15T06:30:00",
          "FlightNumber" : "723",
          "NumberInParty" : "1",
          "ResBookDesigCode" : "V",
          "Status" : "NN",
          "DestinationLocation" : {
            "LocationCode" : "SEA"
          },
          "MarketingAirline" : {
            "Code" : "AS",
            "FlightNumber" : "723"
          },
          "OriginLocation" : {
            "LocationCode" : "DFW"
          }
        }, {
          "ArrivalDateTime" : "2018-07-15T12:15:00",
          "DepartureDateTime" : "2018-07-15T09:55:00",
          "FlightNumber" : "930",
          "NumberInParty" : "1",
          "ResBookDesigCode" : "S",
          "Status" : "NN",
          "DestinationLocation" : {
            "LocationCode" : "LAS"
          },
          "MarketingAirline" : {
            "Code" : "AS",
            "FlightNumber" : "930"
          },
          "OriginLocation" : {
            "LocationCode" : "SEA"
          }
        } ]
      }
    },
    "AutomatedExchanges" : [ {
      "ExchangeComparison" : {
        "OriginalTicketNumber" : "0277132204756",
        "PriceRequestInformation" : {
          "OptionalQualifiers" : {
            "PricingQualifiers" : {
              "NameSelect" : {
                "NameNumber" : "1.1"
              }
            }
          }
        }
      },
      "PriceComparison" : {
        "amountSpecified" : 1063.28,
        "AcceptablePriceIncrease" : {
          "haltOnNonAcceptablePrice" : true,
          "Percent" : 5
        },
        "AcceptablePriceDecrease" : {
          "haltOnNonAcceptablePrice" : false,
          "Percent" : 5
        }
      }
    } ],
    "PostProcessing" : {
      "acceptIncompleteTransactions" : false,
      "returnPQRInfo" : true,
      "EndTransaction" : {
        "Source" : {
          "ReceivedFrom" : "SP TEST"
        }
      }
    }
  }
}

Sample response

{
  "ExchangeBookingRS" : {
    "ExchangeConfirmation" : [ {
      "PQR_Number" : "02",
      "PriceComparison" : {
        "amountReturned" : "-5.99"
      }
    } ],
    "PriceQuoteReissue" : [ {
      "PQR_Number" : "2",
      "MiscInformation" : {
        "BaggageFees" : [ {
          "Text" : "BAG ALLOWANCE -LASLAX-NIL/DL"
        }, {
          "Text" : "1STCHECKED BAG FEE-LASLAX-USD25.00/DL/UP TO 50 POUNDS/23 KILOGR"
        }, {
          "Text" : "AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS"
        }, {
          "Text" : "2NDCHECKED BAG FEE-LASLAX-USD35.00/DL/UP TO 50 POUNDS/23 KILOGR"
        }, {
          "Text" : "AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS"
        }, {
          "Text" : "BAG ALLOWANCE -LAXLAS-NIL/DL"
        }, {
          "Text" : "1STCHECKED BAG FEE-LAXLAS-USD25.00/DL/UP TO 50 POUNDS/23 KILOGR"
        }, {
          "Text" : "AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS"
        }, {
          "Text" : "2NDCHECKED BAG FEE-LAXLAS-USD35.00/DL/UP TO 50 POUNDS/23 KILOGR"
        }, {
          "Text" : "AMS AND UP TO 62 LINEAR INCHES/158 LINEAR CENTIMETERS"
        }, {
          "Text" : "CARRY ON ALLOWANCE"
        }, {
          "Text" : "LASLAX LAXLAS-01P/DL"
        }, {
          "Text" : "01/PERSONAL ITEM"
        }, {
          "Text" : "01/UP TO 45 LINEAR INCHES/115 LINEAR CENTIMETERS"
        }, {
          "Text" : "CARRY ON CHARGES"
        }, {
          "Text" : "LASLAX LAXLAS-DL-CARRY ON FEES UNKNOWN-CONTACT CARRIER"
        }, {
          "Text" : "ADDITIONAL ALLOWANCES AND/OR DISCOUNTS MAY APPLY DEPENDING ON"
        }, {
          "Text" : "FLYER-SPECIFIC FACTORS /E.G. FREQUENT FLYER STATUS/MILITARY/"
        }, {
          "Text" : "CREDIT CARD FORM OF PAYMENT/EARLY PURCHASE OVER INTERNET,ETC./"
        }, {
          "Text" : "EMBARGOES-APPLY TO EACH PASSENGER"
        }, {
          "Text" : "LASLAX LAXLAS-DL"
        }, {
          "Text" : "PET IN HOLD NOT PERMITTED"
        }, {
          "Text" : "SPORTING EQUIPMENT/CANOE/KAYAK NOT PERMITTED"
        } ],
        "SignatureLine" : [ {
          "CreationAgent" : "ASP",
          "CreateDateTime" : "2018-03-02T09:30",
          "HomePseudoCityCode" : "G7HE",
          "PseudoCityCode" : "G7HE",
          "Source" : "SYS"
        } ]
      },
      "PricedItinerary" : {
        "InputMessage" : "WFRF",
        "AirItineraryPricingInfo" : {
          "ExchangeDetails" : {
            "DocNumber" : "0067026400732",
            "CurrencyCode" : "USD",
            "PQR_Status" : "E",
            "TicketValue" : "404.59",
            "ChangeFeeInformation" : [ {
              "Amount" : "200.00"
            } ],
            "PersonName" : {
              "Surname" : "DZIK/MARCIN"
            },
            "Text" : [ "RESIDUAL APPLIED TO PENALTY PER RULE 205.99", "RESIDUAL AMT REFUNDABLE PER RULE 5.99" ],
            "TransactionInformation" : [ {
              "Amount" : "0.00",
              "CurrencyCode" : "USD",
              "Text" : "EVEN"
            } ]
          },
          "FareCalculation" : {
            "Text" : [ "LAS DL LAX134.88DL LAS23.26USD158.14END ZPLASLAX XFLAS4.5LAX", "4.5" ]
          },
          "ItinTotalFare" : {
            "BaseFare" : {
              "Amount" : "158.14",
              "CurrencyCode" : "USD"
            },
            "Taxes" : {
              "TaxCode" : "XT",
              "TotalAmount" : "40.46",
              "Tax" : [ {
                "Amount" : "11.86",
                "TaxCode" : "US"
              }, {
                "Amount" : "8.40",
                "TaxCode" : "ZP"
              }, {
                "Amount" : "11.20",
                "TaxCode" : "AY"
              }, {
                "Amount" : "9.00",
                "TaxCode" : "XF"
              } ]
            },
            "TotalFare" : {
              "Amount" : "198.60",
              "CurrencyCode" : "USD"
            }
          },
          "PassengerTypeQuantity" : [ {
            "Code" : "ADT",
            "Quantity" : "01"
          } ],
          "PTC_FareBreakdown" : {
            "FlightSegment" : [ {
              "ConnectionInd" : "O",
              "DepartureDateTime" : "05-26T12:56",
              "FlightNumber" : "4594",
              "ResBookDesigCode" : "E",
              "RPH" : "01",
              "BaggageAllowance" : {
                "Number" : "NIL"
              },
              "FareBasis" : {
                "Code" : "LA0NA0BA"
              },
              "MarketingAirline" : {
                "Code" : "DL",
                "FlightNumber" : "4594"
              },
              "OriginLocation" : {
                "LocationCode" : "LAS"
              },
              "ValidityDates" : {
                "NotValidAfter" : "2018-05-26",
                "NotValidBefore" : "2018-05-26"
              }
            }, {
              "ConnectionInd" : "O",
              "DepartureDateTime" : "06-12T19:40",
              "FlightNumber" : "699",
              "ResBookDesigCode" : "E",
              "RPH" : "02",
              "BaggageAllowance" : {
                "Number" : "NIL"
              },
              "FareBasis" : {
                "Code" : "VAVQA0BA"
              },
              "MarketingAirline" : {
                "Code" : "DL",
                "FlightNumber" : "699"
              },
              "OriginLocation" : {
                "LocationCode" : "LAX"
              },
              "ValidityDates" : {
                "NotValidAfter" : "2018-06-12",
                "NotValidBefore" : "2018-06-12"
              }
            }, {
              "OriginLocation" : {
                "LocationCode" : "LAS"
              }
            } ]
          },
          "ResTicketingRestrictions" : [ "03-03" ]
        }
      },
      "ResponseHeader" : {
        "Text" : [ "VALIDATING CARRIER SPECIFIED - DL", "USD349.76 NONREFUNDABLE", "NONREF/NOCHGS/NOPRE RSVDSEAT", "VALIDATING CARRIER-DL" ]
      }
    } ],
    "Reservation" : {
      "numberInParty" : 1,
      "numberOfInfants" : 0,
      "NumberInSegment" : 1,
      "BookingDetails" : {
        "RecordLocator" : "ZPWUPL",
        "CreationTimestamp" : "2018-03-02T09:29:00",
        "SystemCreationTimestamp" : "2018-03-02T09:29:00",
        "CreationAgentID" : "ASP",
        "UpdateTimestamp" : "2018-03-02T09:30:18",
        "PNRSequence" : 3,
        "FlightsRange" : {
          "Start" : "2018-05-26T12:56:00",
          "End" : "2018-06-12T20:56:00"
        },
        "EstimatedPurgeTimestamp" : "2018-06-12T00:00:00",
        "UpdateToken" : "267f63b4ab324454d54a66edeb06df9b188f67598ba9b2c6"
      },
      "POS" : {
        "Source" : {
          "BookingSource" : "G7HE",
          "AgentSine" : "ASP",
          "PseudoCityCode" : "G7HE",
          "ISOCountry" : "US",
          "AgentDutyCode" : "*",
          "AirlineVendorID" : "AA",
          "HomePseudoCityCode" : "G7HE"
        }
      },
      "PassengerReservation" : {
        "Passengers" : {
          "Passenger" : [ {
            "id" : "3",
            "nameType" : "S",
            "passengerType" : "ADT",
            "referenceNumber" : "ABC123",
            "nameId" : "01.01",
            "nameAssocId" : "1",
            "elementId" : "pnr-3.1",
            "LastName" : "DZIK",
            "FirstName" : "MARCIN",
            "SpecialRequests" : {
              "APISRequest" : [ {
                "DOCSEntry" : {
                  "id" : "16",
                  "type" : "G",
                  "DateOfBirth" : "2001-01-01",
                  "Gender" : "M",
                  "Surname" : "DZIK",
                  "Forename" : "MARCIN",
                  "MiddleName" : "",
                  "PrimaryHolder" : false,
                  "FreeText" : "",
                  "ActionCode" : "HK",
                  "NumberInParty" : 1,
                  "VendorCode" : "DL"
                }
              } ]
            },
            "Seats" : { }
          } ]
        },
        "Segments" : {
          "Poc" : {
            "Airport" : "LAS",
            "Departure" : "2018-05-26T12:56:00"
          },
          "Segment" : [ {
            "sequence" : 1,
            "id" : "26",
            "Air" : {
              "id" : "26",
              "sequence" : 1,
              "segmentAssociationId" : 3,
              "isPast" : false,
              "DepartureAirport" : "LAS",
              "DepartureAirportCodeContext" : "IATA",
              "DepartureTerminalName" : "TERMINAL 1",
              "DepartureTerminalCode" : "1",
              "ArrivalAirport" : "LAX",
              "ArrivalAirportCodeContext" : "IATA",
              "ArrivalTerminalName" : "TERMINAL 2",
              "ArrivalTerminalCode" : "2",
              "OperatingAirlineCode" : "DL",
              "OperatingAirlineShortName" : "DELTA AIR LINES INC",
              "OperatingFlightNumber" : "4594",
              "EquipmentType" : "CR9",
              "MarketingAirlineCode" : "DL",
              "MarketingFlightNumber" : "4594",
              "OperatingClassOfService" : "E",
              "MarketingClassOfService" : "E",
              "DisclosureCarrier" : {
                "Code" : "DL",
                "DOT" : true,
                "Banner" : "SKYWEST DBA DELTA CONNECTION"
              },
              "MarriageGrp" : {
                "Ind" : "0",
                "Group" : "0",
                "Sequence" : "0"
              },
              "Seats" : { },
              "AirlineRefId" : "DCDL*",
              "Eticket" : true,
              "DepartureDateTime" : "2018-05-26T12:56:00",
              "ArrivalDateTime" : "2018-05-26T14:15:00",
              "FlightNumber" : "4594",
              "ClassOfService" : "E",
              "ActionCode" : "HK",
              "NumberInParty" : 1,
              "SegmentSpecialRequests" : { },
              "inboundConnection" : false,
              "outboundConnection" : false,
              "ScheduleChangeIndicator" : false,
              "SegmentBookedDate" : "2018-03-02T09:30:00",
              "ElapsedTime" : "01.19",
              "AirMilesFlown" : "0236",
              "FunnelFlight" : false,
              "ChangeOfGauge" : false
            }
          }, {
            "sequence" : 2,
            "id" : "27",
            "Air" : {
              "id" : "27",
              "sequence" : 2,
              "segmentAssociationId" : 5,
              "isPast" : false,
              "DepartureAirport" : "LAX",
              "DepartureAirportCodeContext" : "IATA",
              "DepartureTerminalName" : "TERMINAL 2",
              "DepartureTerminalCode" : "2",
              "ArrivalAirport" : "LAS",
              "ArrivalAirportCodeContext" : "IATA",
              "ArrivalTerminalName" : "TERMINAL 1",
              "ArrivalTerminalCode" : "1",
              "OperatingAirlineCode" : "DL",
              "OperatingAirlineShortName" : "DELTA AIR LINES INC",
              "OperatingFlightNumber" : "0699",
              "EquipmentType" : "738",
              "MarketingAirlineCode" : "DL",
              "MarketingFlightNumber" : "0699",
              "OperatingClassOfService" : "E",
              "MarketingClassOfService" : "E",
              "DisclosureCarrier" : {
                "Code" : "DL",
                "DOT" : false,
                "Banner" : "DELTA AIR LINES INC"
              },
              "MarriageGrp" : {
                "Ind" : "0",
                "Group" : "0",
                "Sequence" : "0"
              },
              "Seats" : { },
              "AirlineRefId" : "DCDL*",
              "Eticket" : true,
              "DepartureDateTime" : "2018-06-12T19:40:00",
              "ArrivalDateTime" : "2018-06-12T20:56:00",
              "FlightNumber" : "0699",
              "ClassOfService" : "E",
              "ActionCode" : "HK",
              "NumberInParty" : 1,
              "SegmentSpecialRequests" : { },
              "inboundConnection" : false,
              "outboundConnection" : false,
              "ScheduleChangeIndicator" : false,
              "SegmentBookedDate" : "2018-03-02T09:30:00",
              "ElapsedTime" : "01.16",
              "AirMilesFlown" : "0236",
              "FunnelFlight" : false,
              "ChangeOfGauge" : false
            }
          } ]
        },
        "TicketingInfo" : {
          "AlreadyTicketed" : [ {
            "id" : "22",
            "index" : 1,
            "elementId" : "pnr-22",
            "Code" : "T-02MAR-G7HE*ASP"
          } ],
          "ETicketNumber" : [ {
            "id" : "20",
            "index" : 2,
            "elementId" : "pnr-20",
            "content" : "TE 0067026400732-AT DZIK/M G7HE*ASP\n                    0929/02MAR*\n                "
          } ],
          "TicketDetails" : [ {
            "id" : "20",
            "index" : 2,
            "elementId" : "pnr-20",
            "OriginalTicketDetails" : "TE 0067026400732-AT DZIK/M G7HE*ASP 0929/02MAR*\n                    ",
            "TransactionIndicator" : "TE",
            "TicketNumber" : "0067026400732",
            "PassengerName" : "DZIK/M",
            "AgencyLocation" : "G7HE",
            "DutyCode" : "*",
            "AgentSine" : "ASP",
            "Timestamp" : "2018-03-02T09:29:00",
            "PaymentType" : "*"
          } ]
        },
        "ItineraryPricing" : { }
      },
      "ReceivedFrom" : {
        "Name" : "SP TEST"
      },
      "Addresses" : {
        "Address" : [ {
          "AddressLines" : {
            "AddressLine" : [ {
              "id" : "7",
              "type" : "O",
              "Text" : "SABRE TRAVEL"
            }, {
              "id" : "8",
              "type" : "O",
              "Text" : "3150 SABRE DRIVE"
            }, {
              "id" : "9",
              "type" : "O",
              "Text" : "SOUTHLAKE, TX US"
            }, {
              "id" : "10",
              "type" : "O",
              "Text" : "76092"
            } ]
          }
        } ]
      },
      "PhoneNumbers" : {
        "PhoneNumber" : [ {
          "id" : "6",
          "index" : 1,
          "elementId" : "pnr-6",
          "CityCode" : "DFW",
          "Number" : "817-555-1212-H-1.1"
        } ]
      },
      "Remarks" : {
        "Remark" : [ {
          "index" : 1,
          "id" : "17",
          "type" : "FOP",
          "elementId" : "pnr-17",
          "RemarkLines" : {
            "RemarkLine" : [ {
              "Text" : "CHECK"
            } ]
          }
        }, {
          "index" : 2,
          "id" : "21",
          "type" : "REG",
          "elementId" : "pnr-21",
          "RemarkLines" : {
            "RemarkLine" : [ {
              "Text" : "XXTAW/"
            } ]
          }
        } ]
      },
      "EmailAddresses" : { },
      "AccountingLines" : {
        "AccountingLine" : [ {
          "id" : "19",
          "index" : 1,
          "elementId" : "pnr-19",
          "FareApplication" : "ONE",
          "FormOfPaymentCode" : "CA",
          "AirlineDesignator" : "DL",
          "DocumentNumber" : "7026400732",
          "CommissionAmount" : "0.00",
          "BaseFare" : "349.76",
          "TaxAmount" : "54.83",
          "PassengerName" : "DZIK MARCIN",
          "NumberOfConjunctedDocuments" : "1",
          "TarriffBasis" : "D"
        } ]
      },
      "GenericSpecialRequests" : [ {
        "id" : "15",
        "type" : "G",
        "msgType" : "S",
        "Code" : "OTHS",
        "FreeText" : "CC MARCIN DZIK",
        "AirlineCode" : "YY",
        "FullText" : "OTHS YY CC MARCIN DZIK"
      } ],
      "OpenReservationElements" : {
        "OpenReservationElement" : [ {
          "id" : "4",
          "type" : "INVOICE",
          "elementId" : "pnr-or-4",
          "InvoiceData" : {
            "SnapshotId" : "a4618a3a-9f1b-40af-96e9-e13aa1ac333d",
            "InvoiceId" : "a0c36b22-c65d-4e99-86dd-03ad8f2e7c2a",
            "InvoiceNumber" : 892,
            "InvoiceCreateDate" : "2018-03-02T09:29:42",
            "TravellerName" : [ {
              "LastName" : "DZIK",
              "FirstName" : "MARCIN",
              "NameRefNumber" : "01.01"
            } ]
          }
        }, {
          "id" : "12",
          "type" : "SRVC",
          "elementId" : "pnr-12",
          "Loyalty" : {
            "ProgramName" : "ProgramName",
            "FrequentFlyer" : { }
          }
        }, {
          "id" : "15",
          "type" : "SRVC",
          "elementId" : "pnr-15",
          "ServiceRequest" : {
            "airlineCode" : "YY",
            "code" : "OTHS",
            "serviceType" : "SSR",
            "ssrType" : "GFX",
            "FreeText" : "CC MARCIN DZIK",
            "FullText" : "OTHS YY CC MARCIN DZIK"
          }
        }, {
          "id" : "16",
          "type" : "SRVC",
          "elementId" : "pnr-16",
          "ServiceRequest" : {
            "actionCode" : "HK",
            "airlineCode" : "DL",
            "code" : "DOCS",
            "serviceCount" : "1",
            "serviceType" : "SSR",
            "ssrType" : "GFX",
            "FreeText" : "/DB/01JAN2001/M/DZIK/MARCIN",
            "FullText" : "DOCS DL HK1/DB/01JAN2001/M/DZIK/MARCIN",
            "TravelDocument" : {
              "Type" : "DB",
              "DateOfBirth" : "01JAN2001",
              "Gender" : "M",
              "LastName" : "DZIK",
              "FirstName" : "MARCIN",
              "Infant" : false,
              "HasDocumentData" : false
            }
          },
          "NameAssociation" : [ {
            "LastName" : "DZIK",
            "FirstName" : "MARCIN",
            "NameRefNumber" : "01.01"
          } ]
        }, {
          "id" : "17",
          "type" : "FP",
          "displayIndex" : 1,
          "elementId" : "pnr-17",
          "FormOfPayment" : {
            "migrated" : false,
            "Check" : {
              "Text" : "CHECK"
            }
          }
        }, {
          "id" : "18",
          "type" : "FP",
          "displayIndex" : 1,
          "elementId" : "pnr-18",
          "ServiceRequest" : {
            "actionCode" : "HK",
            "airlineCode" : "AA",
            "code" : "TKNE",
            "serviceCount" : "1",
            "serviceType" : "SSR",
            "ssrType" : "AFX",
            "FreeText" : "/0017026400664C2",
            "FullText" : "TKNE AA HK1 LAXLAS2613Y23MAY/0017026400664C2"
          },
          "SegmentAssociation" : [ {
            "Id" : "foobar",
            "SegmentAssociationId" : "foo",
            "Sequence" : "bar",
            "AirSegment" : {
              "CarrierCode" : "AA",
              "FlightNumber" : "2477",
              "DepartureDate" : "2018-05-16",
              "BoardPoint" : "DFW",
              "OffPoint" : "LAX",
              "ClassOfService" : "J",
              "BookingStatus" : "A"
            }
          } ],
          "NameAssociation" : [ {
            "LastName" : "MAKOTA",
            "FirstName" : "ALICJA",
            "NameRefNumber" : "02.01"
          } ]
        } ]
      }
    }
  },
  "Links" : [ {
    "rel" : "self",
    "href" : "https://api.sabre.com/v1.0.0/exchange/booking"
  }, {
    "rel" : "linkTemplate",
    "href" : "https://api.sabre.com//exchange/booking"
  } ]
}

Errors

An HTTP status code is always returned.

Errors that are specific to this API follow. For information about the error response format, see the: Sabre APIs: common errors page.

404 NOT_FOUND

No results were found
The service cannot find data to fulfill the parameters in the request. For example, there is no data available for the dates specified.

400 BAD REQUEST

The request was not valid.
The service does not support the data used in the request. For example, origin or destination in the request is not a valid IATA airport code.

If you receive this error:

 { status: "NotProcessed" type: "Validation" errorCode: "ERR.2SG.CLIENT.INVALID_REQUEST" timeStamp: "2016-07-19T11:43:34.599-05:00"
    message: "Request is invalid: Request payload is missing or it is not supported by the requested service" }

Ensure you:

  • have specified a content type header with a value of 'application/json'
  • are sending a JSON document in the HTTP POST's request body

Docs Navigation