AirSearch API Reference

This topic provides an API reference for AirSearch requests and responses. For discussion of request and response structure, plus examples, see AirSearch API.

In this topic:

AirSearch Requests

POST Request

Use the following resource for the AirSearch request:

POST search/catalogofferings

Base path:

Pre-production https://api.pp.travelport.com/9/air/

Production https://api.travelport.com/9/air/

 

Query Parameters

AirSearch uses the optional query parameters detailed below. Use the & key to combine parameters. For example, ?view=detail&sccChannelID=XY1. Parameters are case-sensitive.

See Pagination for the GET request for pagination.

Parameter Description Required/Optional

view=detail

Requests a detailed response.

See Detail and Summary Responses in AirSearch API.

Optional

sccChannelID=abcd

Provides your SCC channel ID, if you use the Travelport Search Control Console (SCC). Do not also send with sccType.

Travel agency administrators use SCC to create business rules for filtering certain air shopping results. If your client's application does not use SCC, do not use these key value pairs. Contact your Travelport representative if you would like additional information about SCC. SCC is not supported for NDC.

Optional

sccType=XX

Overrides a specific SCC rule type. Do not also send with sccChannelID above.

Optional

view=turbo

 

Requests Meta Search, which provides faster response time and maximum of 50 flights.

See Meta Search.

Optional

Payload

Search Minimum Request

The table below lists all required and optional objects for the minimum required search request.

Object Description Required Attributes Optional Attributes

CatalogOfferingsQueryRequest

 

Top level object for requests.

None

None

CatalogOfferingsRequest

Sets response-wide options.

Includes PassengerCriteria and SearchCriteriaFlight objects.

None

offersPerPage: The number of offers to return in the initial response, if using pagination. Not supported for NDC.

contentSourceList: Supports requesting both or either GDS or NDC content. If contentSourceList is not sent, returns only GDS content. Supported values are:

  • GDS: Returns only GDS content.
  • NDC: Returns only NDC content.

Send both values to return aggregated GDS and NDC content. For example:

"contentSourceList" : [ "GDS", "NDC"],

returnBrandedFaresInd: By default AirSearch does not return branded fares. Set to true to return branded fares or false to disable the return of branded fares. If not sent the default value is false.

PassengerCriteria

Defines the type of passenger to search for.

Send one PassengerCriteria object for each passenger type code (PTC).

AirSearch supports requesting up to 9 total passengers across all PTCs.

Includes the optional CustomerLoyalty object and TravelerGeographicLocation objects.

passengerTypeCode: The passenger type code to search for. Common PTCs are:

  • ADT: adult
  • CHD: child of unknown age
  • CNN: child when age is known
  • INF: infant without a seat
  • INS: infant with a seat
  • UNN: unaccompanied child

number: The number of passengers with this PTC.

For a full list of PTCs, see the Tools page for the Universal API Reference Data file.

When running a multiple passenger search for NDC on Qantas, Qantas supports only these PTCs: ADT, CHD, CNN, INF. Sending any other PTC may result in an error at ticketing.

age: The age of the passenger.

Notes on PTC and age
  • Travelport recommends that age be sent only with PTCs that require age for pricing.
  • Travelport recommends sending the PTC CNN for a child instead of CHD, in which NN is the child's age; e.g., C08, C10. Many fares cannot be quoted for code CHD.
  • The age for CNN is generally between 2 and 11 inclusive, with ADT fares returned for ages 12 and up; however, this can vary by airline and country.
  • The age for INF must be either 0 or 1.
  • In the Search and Price requests, when sending specifiedPassengerTypeCodeOnlyInd as true for a child, also send the PTC CNN along with the age of the child. (This indicator is used to return offers for only the specified PTC.)
  • During booking, date of birth is required for all child and infant PTCs (Add Traveler payload in Traveler/birthDate).

specifiedPassengerTypeCodeOnlyInd: Send this indicator with a value of true to return only offers for the specified PTC. If no offers for that PTC are available, the error message "No Offers Found for channel [Identifier]" is returned. Not supported for NDC.

TravelerGeographicLocation

Optional object for requesting local citizen fares. For example, some airlines may offer discounted fares in Latin American and Spain for residents of those countries.

Not supported for NDC.

If sent, the following are required:

  • value: Code specifying the location relevant to the local citizen fare.
  • travelerGeographicLocationType: The type of location. Supported values are Country, City, State/Province.

None

CustomerLoyalty

Optional object for sending customer loyalty information, such as for a frequent flyer program.

Currently supported only for NDC on Qantas.

If sent, the following are required: 

  • value: The customer loyalty number.
  • supplier: The customer loyalty card carrier code.
  • cardHolderName: The customer loyalty card holder name; up to 128 characters are supported.

For discounted offers to be returned, the name must be sent as LAST FIRST; e.g., in the example below SMITH is the last name and JORDAN is the first name.

"cardHolderName": "SMITH JORDAN "

None

The following defect exists for NDC in AirSearch v9 only: If multiple infants are added in one object for the same number of adult passengers, and loyalty information is sent for only some of those adult passengers, AirSearch returns the error The number of INF passengers cannot exceed the number of ADT passengers. To avoid this error, send each INF request in a separate object per the following example when you are not sending loyalty information for all the adult passengers.

In other words, do not send passengerTypeCode of INF with number set to a value greater than 1.

SearchCriteriaFlight

 

Defines the origin and destination (O&D) pair. Send one SearchCriteriaFlight for each O&D pair.

Includes From and To objects.

departureDate: The date of departure in yyyy-mm-dd format (e.g., departureDate="2019-12-06")

departureTime: The time of departure in HH:MM:SS format (e.g., departureTime="18:00:00").

departureTime is required on a same-day flight, i.e., when searching for multiple legs on the same day.

For GDS, AirSearch does not specify a time window around the requested time, so any valid flight that day may be returned.

For NDC, sending a departure time limits search results to a 2-hour window before and after that time. If no flights are available during that window, the message No offers found for the requested Departure time is returned.

legSequence: If requesting a cabin, carrier, or class of service preference at the leg level, you must add a legSequence key value pair to each origin and destination (O&D) pair to specify the sequence of that leg in the search, starting with 1 for the first leg in the sequence.

From

The departure city/airport for this O&D pair.

See City and Airport Options below.

value: The code of the city or airport to search.

type: Optional enumeration specifying whether to restrict search based on the city/airport code sent in value. Supported values are

  • City Only
  • Airport Only
  • City or Airport

To

The arrival city/airport for this O&D pair.

See City and Airport Options below.

value: The code of the city or airport to search.

Same as type above for From.

City and Airport Options

Possible options and behavior are as follows. Note that these behaviors are for availability selection only. Actual content may vary based on calculated price and diversity. While supported for NDC in the search APIs, not all NDC carriers may support all options.

From/To Value and Type Options Behavior

Airport code with no type

Expands the availability selection to the city while giving preference to the requested airport. For example, LGA would return flights for LGA, EWR, and JFK but would target more content from LGA.

City code with no type

Returns an unweighted selection of inventory for all airports in the city. For example, NYC would search content equally between LGA, EWR, and JFK.

Airport code with type Airport Only

Returns content only from the specified airport. For example, LGA will return content from only LGA.

Airport code with type City

Expands the availability selection to the city without giving preference to the requested airport. This behavior is equivalent to searching with the airport's city code. For example, LGA would instead be treated as NYC and would return flights for LGA, EWR, and JFK with no preference.

City code with type Airport Only

City code with type City Only

City or airport code with City or Airport

Same behavior as city code with no type.

Journey Modifiers

The table below lists all required and optional objects and key value pairs for SearchModifiersAir object. These are optional journey modifiers that can be added to the minimum required request above.

Object

Description

Attributes

Optional Attributes

CarrierPreference

Specify preferences around a specific airline or multiple airlines.

type: The type of carrier preference. Only one preference type is supported. Supported values are:

  • Permitted: Returns only results on the specified carrier or carriers. An error is returned if the carrier does not have any availability within the requested search parameters.
  • Prohibited: Excludes results from the specified marketing carrier or carriers.
  • Preferred: Includes preferred carrier or carriers as well as interline connections with other carriers.

carriers: A list of the carrier code or codes to permit, prohibit, or prefer. Preferred alliances are also supported through the preferred carrier field; send the alliance code (e.g., /*A) instead of the carrier code.

legSequence: If requesting a preference at at the leg level, include the legSequence key value pair matching the SearchCriteriaFlight/legSequence to which the preference should apply.

CabinPreference

Requests a fare based on the cabin class. Only one cabin preference type is allowed per request.

type: The type of cabin preference. Supported values (no default):

  • Permitted: Searches for ONLY the specified class or classes. If that class is not available, no options are returned in the response.
  • Preferred: Searches for the specified class or classes, but will return lower classes if the specified class is not available.
  • PreferredWithUpgrade: Searches for the specified class or classes, and will return higher classes if the specified class is not available

cabins: A space-delimited list of cabins. Supported values (no default):

  • Economy
  • PremiumEconomy
  • Business
  • First
  • PremiumFirst

legSequence: If requesting a preference at the leg level, include the legSequence key value pair matching the SearchCriteriaFlight/legSequence to which the preference should apply.

ClassOfServicePreference

Requests a fare based on class of service.

Includes the ClassesOfService object.

Not supported for NDC.

 

 

ClassesOfService

Provides the requested class of service.

Send the class or classes of service requested in a space-delimited list; one or multiple classes are supported. Supported values vary by carrier and/or market.

Only the requested class of service is returned in the response. If that class of service is not available, AirSearch does not return any offers and returns the error message UNABLE TO PRICE AS SPECIFIED.

legSequence: If requesting a preference at the leg level, include the legSequence key value pair matching the SearchCriteriaFlight/legSequence to which the preference should apply.

FlightType

Specify search preferences about connections and stops.

connectionType: The connection type to limit the search at. The specified type and all higher types can be returned.

Supported values (no default):

  • NonStopDirect
  • StopDirect
  • SingleConnection
  • DoubleConnection

excludeInterlineConnectionsInd: true omits interline connections from results; the default of false allows interline connections in results. Note that interline connections are not supported for NDC.

None

SearchModifiersAir

Exclude from the search results either all ground transportation or only train options.

excludeGround: Boolean key value pair to exclude ground transportation from the response.

Supported values:

  • All (excludes all ground transportation)
  • Train (excludes only train travel but not other types of ground transportation)

prohibitChangeOfAirport: Boolean true/false (default) key value pair to exclude itineraries that would require changing airports during connections.

None

MaxConnectionDuration

Requests only itineraries that do not exceed a set length of time between flights on the same leg.

Supply the maximum duration in the ISO-8601 standard. See https://en.wikipedia.org/wiki/ISO_8601#Durations

 

MaxOvernightDuration

Limit the duration of any overnight connection.

Supply the maximum duration in the ISO-8601 standard. See https://en.wikipedia.org/wiki/ISO_8601#Durations

 

ProductInclusionPreference

Requests only fares that include the specified brand key value pairs in the price of the flight.

Supported in AirSearch 20.9.4 and later. Not supported for NDC on v9.

Send with Classification below to specify the brand key value pairs.

 

Classification

Specifies the brand key value pairs to return per ProductInclusionPreference. Must be sent with ProductInclusionPreference.

Limits the fares returned to only those that include one or more of the following specific brand key value pairs; send one or more of the following supported values:

  • CarryOn
  • Refund
  • Meals
  • Rebooking
  • CheckedBag
  • SeatAssignment
  • WiFi
 

Pricing Modifiers

The table below lists all required and optional objects and key value pairs for the search request options in the PricingModifiersAir object. These optional modifiers can be added to the minimum required request above.

Object Description Required Attributes

Optional Attributes

PricingModifiersAir

Send to specify modifiers that affect fare and ticketing options.

Optional.

Can include FareSelection, FareSelectionDetail, OrganizationIdentifier objects per below.

None

currencyCode: Specify the currency type to return if you want to override the default currency specified with your PCC.

When the request includes a currency code override, GDS offers are returned in the override currency, while NDC offers are returned in the currency of the point of sale (POS).

FareSelection

Requests specific fare types including private fares (negotiated), public fares (published), or net fares (consolidator fares, or any negotiated wholesale price that is further marked up for sale to customers).

Net fares are supported only for GDS content, not NDC. Net fares must be specifically requested by sending either NetFaresOnly or AllFares to be included in the response.

Optional.

If sent, must include:

fareType: The type of fares to return. Supported values:

  • PublicFaresOnly
  • PrivateFaresOnly
  • PublicAndPrivateFares (default value)
  • NetFaresOnly (not supported for NDC)
  • AllFares: Returns public and private fare offers and net fare offers in one request.

None

FareSelectionDetail

Specifies the types of fare rules that apply to fares in the response.

Optional.

 

If sent, can include any or all of the following:

prohibitAdvancePurchaseFaresInd: true prevents the return of fares that require advance purchase.

prohibitMaxStayFaresInd: true prevents the return of fares that require a maximum stay.

prohibitMinStayFaresInd: true prevents the return of fares that require a minimum stay.

refundableOnlyInd: true returns only fares that are fully refundable.

All key value pairs accept either true or false Boolean values. The default value for all is false.

Not supported for NDC; no NDC content is returned if any are sent with true.

None

OrganizationIdentifer

If an account/contract code is required for an airline or agency private fare, you can send up to 15 codes in the request.

Optional.

If sent, must include:

value: The account code to apply.

supplier: The supplier on which the account code is applicable.

type: Send with a value of Account.

None

 

AirSearch Responses

The following table lists the objects in AirSearch responses and the information in each.

Object Description

CatalogOfferingsResponse

Includes CatalogOfferings and ReferenceList objects.

AirSearch 20.9.2 and later include the transactionId and traceId key value pairs, intended for to be used for tracking and troubleshooting when necessary. See Transaction and Trace IDs for details.

  • transactionId: A unique system-generated transaction ID. No custom value is sent in the request.
  • traceId: If a custom value is sent in the TraceId field of the header of the AirSearch request, AirSearch returns that custom value here in traceId. If no value is sent, traceID is not returned.

CatalogOfferings

Top level object for all offers.

Includes Identifier, DefaultCurrency, and CatalogOffering objects.

Identifier (CatalogOfferings/Identifier)

Includes the following key value pair:

value: Provides the transaction identifier, which is required for any subsequent GET requests to retrieve additional offers (see Pagination Options for more information) as well as subsequent requests for AirPrice and other APIs.

DefaultCurrency

Includes the following key value pair:

code: The currency in which all results in the response are displayed. Unless changed in the request, the currency is the default associated with your provisioned PCC from Travelport.

To change the default currency for an individual response, see Optional Pricing Modifiers.

CatalogOffering

An individual offer, which is all flight options valid at one price point under the same terms and conditions. One instance of CatalogOffering is returned for each offer.

Includes the following key value pair:

id: Unique number for each CatalogOffering in the response. Note:

  • For GDS content, the CatalogOffering id value is letter ā€˜o’ + unique numeric value, as in o0.0.
  • For NDC content, the CatalogOffering id value is the two letter NDC carrier code + unique numeric value, as in QF1.

Includes the ProductOptions, Price, and TermsAndConditions objects. For NDC content only, it also includes an Identifier object.

Identifier (CatalogOffering/Identifier)

CatalogOfferings includes an Identifier object only if the offer contains NDC content. Includes the following key value pairs:

authority: NDC carrier of the offering

id: Unique identifier for that CatalogOffering.

AncillaryOffering

AirSearch v9 only. NDC only.

AncillaryOffering is returned for NDC offers on United Airlines (UA) only when air ancillary bundles are available. The AirSearch response returns air ancillary bundles (air fare and ancillaries together) at the product level, allowing you to select an ancillary bundle for each leg of a flight. Send an AirSearch request to return NDC content, and UA bundles are returned in the AncillaryOffering object by default when available. Supported on model v9 only. Not returned for GDS or other NDC carriers.

ProductOptions

Lists all Products that make up one leg of the itinerary (origin and destination (O&D) pair). Every CatalogOffering for a one-way search returns one instance of ProductOptions, while every CatalogOffering for a round-trip search returns two instances of ProductOptions.

For round-trip and multi-city itineraries, each instance of ProductOptions includes a sequence key value pair to indicate its order in the itinerary (example below). Each sequence starts with 1. ProductOptions sequence numbers for one-way itineraries, if present, are always 1.

"ProductOptions": [
    {
       "@type": "ProductOptions",
       "sequence": 1,

Includes ProductAir object.

Product

Each Product lists one complete set of flight options for that segment of the itinerary. Multiple instances of Product (in this case with type ProductAir) may be returned in each ProductOptions object. Includes the following key value pairs:

  • totalDuration: Total time length of the segment in hours (H) and minutes (M)

  • id: ProductAir id.

    • For GDS content, the ProductAir id is unique within the response.

    • For NDC content, the ProductAir id is unique within the response.

    • For NDC and GDS aggregated content, the ProductAir id is unique within the NDC offers and unique within the GDS offers.

  • Quantity: Number of seats available for that Product. Not returned for NDC.

    If the Product has connecting flights, Quantity returns the lowest number available. For example, if the first flight has 9 seats in Y class and the connecting flight has 4 seats in Y class, Quantity returns a value of 4.

Includes FlightSegment and PassengerFlight objects.

FlightSegment

Lists the flight or connecting flights that make up that Product. A FlightSegment with a direct flight returns one instance of Flight while a FlightSegment with connecting flights returns one instance of Flight object for each flight on the leg. Includes the following key value pairs:

  • sequence: The place of this segment within the leg, e.g., 1 for the first segment and 2 for the second.
  • connectionDuration: Length of any connection, if applicable, in hours (H) and minutes (M). Not returned for NDC.
  • boundFlightsInd: The bound flights indicator boundFlightsInd is a Boolean variable indicating segments are married/bound. When returned with a value of true, the flight segments are polled together and usually share the same fare basis code and class of service. The indicator is returned as true for all leading segments on one leg of the flight, and not returned for the last segment of the bound flight leg journey, indicating where the bound flights end. For example, if an O&D pair has 3 flight segments, boundFlightsInd is returned for the first two segments on that leg. If the segments are not bound, boundFlightsInd is false and not returned. Not returned for NDC. With AirSearch 21.9.11 and later, and Fare Family Search 21.9.10 and later, the definition of boundFlightsInd was updated to specify which flights in a single or double connection must be sold together, which results in fewer booking failures. Previously, boundFlightsInd specified which flights in a single or double connection are polled together, which in some instances can cause booking failures.

    With AirSearch 21.9.11 and later, the definition of boundFlightsInd was updated to specify which flights in a single or double connection must be sold together, which results in fewer booking failures. Previously, boundFlightsInd specified which flights in a single or double connection are polled together, which in some instances can cause booking failures.

Includes the Flight object to reference flight details.

Flight

Provides a FlightRef value for the flight, which references ReferenceList/Flight/id (see below), which consolidates flight details (carrier, distance, flight number, and arrival and departure details) from all CatalogOfferings.

  • For GDS, FlightRef is formatted as the letter ā€˜s’+ unique numeric value, as in s1.
  • For NDC, FlightRef is formatted as the two letter NDC carrier code + s+ unique numeric value, as in QFs1.

PassengerFlight

Returns PTC details and class/brand information for each PTC requested. If multiple PTCs were requested, multiple instance of Passenger Flight are returned. Includes the folllowing key value pairs:

  • passengerQuantity: Number of passengers in that PTC from the request.
  • passengerTypeCode: The PTC code.

Includes the FlightProduct object.

FlightProduct

Provides the following key value pairs:

  • segmentSequence: Order of the corresponding flight in the sequence.
  • classOfService: Class of service code.
  • cabin: Cabin class.
  • fareBasisCode: Fare basis code for the flight.
  • fareType: Indicates the fare type. Possible values are AirlinePrivateFare, AgencyPrivateFare, PublicFare, or NetFare (net fares are not supported for NDC).

Includes the Brand object if branded fares were requested.

Brand (FlightProduct/Brand)

Returned only if returnBrandedFaresInd is set to true in the AirSearch request. Response differs by detail and summary response.

The summary response returns FlightProduct/Brand with all brand information in the following:

  • name: The brand name.
  • tier: The brand tier. Not returned for NDC.
  • Identifier object:
    • value key value pair: The brand id from the supplier.
    • authority key value pair: Always contains the value Travelport.

The detail response returns FlightProduct/Brand returns with only the BrandRef key value pair, which is an internal identifier to the expanded brand information in ReferenceListBrand.

Price

Price as follows, inclusive of all passengers across all PTCs for that CatalogOffering.

  • Base: The base fare before taxes and fees.
  • TotalTaxes: Sum of all taxes for the fare.
  • TotalFees: Sum of all fees for the fare.
  • TotalPrice: Total fare including base fare, taxes and fees, inclusive of all passengers.

If a detail response was requested, includes the PriceBreakdown object listed next.

PriceBreakdown

Returned in Price if a detail view was requested.

Key value pairs:

  • quantity: Number of passengers in that PTC.
  • requestedPTC: The PTC.
  • currencyCode: The currency code of the price. Returned only for NDC.

Includes the Amount object, and may include Commission object.

Each PriceBreakdownAir object returns pricing for one passenger of a single PTC. On multi-passenger itineraries, you must multiply this price by the number of passengers in that PTC for the total fare for that PTC, and sum all PTCs for a total price for the itinerary.

Commission

AirSearch 21.9.9 and later only.

For GDS only, any commission filed by an airline in a CAT35 fare is returned in PriceBreakdownAir/Commission. The amount is either a percent of the fare component (@type CommissionPercent and the Percent object) or an amount (@type CommissionAmount with Amount/value).

Amount

Returned in Price/PriceBreakdown if a detail view was requested.

Only for NDC, Amount returns the currencyCode with currency code of the price.

Includes the Base, Taxes, Fees, and Total objects.

Base

Returned if a detail view was requested.

Base fare for one passenger of that PTC type.

Taxes

Returned if a detail view was requested.

Includes TotalTaxes and Tax objects.

TotalTaxes

Returned if a detail view was requested.

Sum total of all taxes for that PTC.

 

Tax

Returned if a detail view was requested. Includes the following key value pairs:

  • taxCode: Code for that tax.
  • value: Amount of that tax.
  • description: A text description of the tax code. Returned only for NDC.

Fees

Returned if a detail view was requested.

Provides breakdown of fees, if applicable. Includes TotalFees object to return sum of any fees for that PTC. May include Fees object to break down individual fees.

Fee

Returned if a detail view was requested.

Provides additional information on fees, if applicable. Includes the key value pairs:

  • feeCode: The code for the fee, such as OB for OB fees.
  • description: Any description for that fee code.
  • text: The amount of the fee.
If OB-T fees are part of the price, those are detailed here. OB-T fees are ticketing fees independent of the form of payment. They are defined by the carrier and can be based on any of multiple criteria.
Total

Returned if a detail view was requested.

Total of base fare and all taxes for that PTC.

TermsAndConditions

Provides any terms and conditions applicable to all flights in that CatalogOffering.

  • validatingCarrier: The carrier on which the ticket is issued.
  • ExpiryDate: Last date and time to ticket.

Includes BaggageAllowance object. If a loyalty number was sent, includes CustomerLoyaltyCredit object. For NDC only, includes a FareRuleInfo object.

TicketingAgency

Returned only in the detail view when the faring agency and the ticketing agency are different. Includes the following key value pairs:

  • Code: The PCC of the ticketing agency.
  • ProductRef: The ids of the products available for ticketing only by the ticketing agency.
  • SegmentSequenceList: Segment sequences if applicable.

FareRuleInfo

Returned only for NDC. Includes the following key value pairs:

  • flightRefs: A reference to the flight id to which the fare rule applies.
  • ruleNumber: A number for the fare rule.

CustomerLoyaltyCredit

Returned only if the CustomerLoyalty object was sent in the request (currently supported only for NDC), CustomerLoyaltyCredit returns the information sent in the request and other details including the miles earned for this flight.

Includes the ProductRef, CustomerLoyalty, Earned, and Status objects.

    "CustomerLoyaltyCredit": [
        {
           "ProductRef": "QFp0",
           "CustomerLoyalty": {
                 "supplier": "QF",
                 "tier": "Bronze",
                 "cardHolderName": "JORDAN LOYTEST",
                 "value": "1295036"
            },
             "Earned": "10400",
             "Status": "180"
       }
      ]
     }
    },

ProductRef CustomerLoyaltyCredit/ProductRef

Returned only if CustomerLoyalty object was sent. Includes:

  • id: The id of the Product object to which the mileage information applies. Note that for NDC content the id is formatted with the two letter NDC carrier code + p + unique numeric value, as in QFp0.

CustomerLoyalty (CustomerLoyaltyCredit/CustomerLoyalty)

 

Returned only if CustomerLoyalty object was sent.

Includes the following key value pairs:

  • supplier: The customer loyalty card carrier code.
  • tier: Loyalty tier name.
  • cardHolderName: The customer loyalty card holder name.
  • value: The customer loyalty number.
Earned (CustomerLoyaltyCredit/Earned)

Returned only if CustomerLoyalty object was sent.

The mileage or points that the traveler earns for the Product segment.

Status (CustomerLoyaltyCredi/Status)

Returned only if CustomerLoyalty object was sent.

A numeric value for any status credits.

BaggageAllowance 

If provided by the carrier, any baggage information. Includes ProductRef and BaggageItem objects.

ProductRef (BaggageAllowance/ProductRef)

The Product id or ids to which any BaggageAllowance applies.

BaggageItem

As returned by the carrier, baggage allowance details. May return either of the following key value pairs but not both:

  • quantity: Allowed number of pieces of baggage.
  • weight: Allowed weight of each baggage item.

OrganizationIdentifier

If any account codes were sent, OrganizationIdentifier is returned with those codes.

  • type: Returns value of Account.
  • value: The account code sent.

ReferenceList

Consolidates common information across all offers. ReferenceList generally returns one instance each with type ReferenceListFlight, ReferenceListProduct, ReferenceListTermsAndConditions, and ReferenceListBrand. Each type consolidates common information about flights, products, terms and conditions, and brands that match to the identifiers in instances of CatalogOffering.

ReferenceListFlight

The ReferenceList object of type ReferenceListFlight provides flight details about all flights in CatalogOfferings, consolidating details for each flight into one object.

Includes multiple Flight objects.

Flight

Each flight in CatalogOfferings includes a reference id that matches to a Flight instance in ReferenceListFlight. Each Flight instance provides the following details:

  • distance: Distance covered in the journey.
  • duration: Time of the flight in hours (H) and minutes (M).
  • carrier: Airline carrier.
  • number: Flight number.
  • equipment: Equipment model. Note that TRN, TRS, and BUS equipment codes indicate ground transportation; see Exclude Ground Transportation in Optional Journey Modifiers above.
  • id: id for theFlightRef values in instances of CatalogOffering/ProductOptions/Product/FlightSegment/Flight

Note these differences in id for GDS and NDC content:

  • For GDS, the Flight id is formatted as the letter ā€˜s’+ unique numeric value, as in s1.
  • For NDC, the Flight id is formatted as the two letter NDC carrier code + s+ unique numeric value, as in QFs1.

Includes the Departure, Arrival, AvailabilitySourceCode, and IntermediateStop objects.

AvailabilitySourceCode

Returned only in the detailed view to assist in troubleshooting.

Possible values and definitions are as follows:

  • A: AVS (availability and schedules)
  • B: Travelport cache
  • C: AVS
  • D: Direct Access
  • E: Travelport cache
  • F: Travelport cache
  • G: Travelport cache
  • H: Travelport cache
  • I: Travelport cache
  • K: Travelport cache
  • L: Last seat availability
  • M: Unknown source
  • O: Travelport cache
  • P: Travelport cache
  • Q: Travelport cache
  • S: Seamless
  • T: Travelport cache
  • U: Unknown source
  • X: Customer Reusing Availability Data from Customer Cache (Data originally obtained from Travelport)
  • Y: Customer Reusing Data Obtained from Another System (e.g. another GDS) (Data may be fresh or stored in customer cache)
  • Z: Customer sold from e-streamed data stored in customer cache

Departure

Provides the location, date, time, and terminal of departure.

Arrival

Provides the location, date, time, and terminal of arrival.

IntermediateStop

Returned if the flight has a technical stop but does not incur a change in flight number. Includes the duration key value pair to specify the ground duration of the intermediate stop.

ReferenceListBrand

If returnBrandedFaresInd is set to true in the AirSearch request, and detailed view is requested, the response includes a ReferenceList object of type ReferenceListBrand to consolidate brand details and top brand key value pairs about each flight in CatalogOfferings.

Includes Brand.

Brand (ReferenceListBrand/Brand)

Returned only in the detail view. See Branded Fares in Search Basics for details.

In ReferenceListBrand, the Brand object consolidates common brand data across the flights in CatalogOfferings. It includes the following key value pairs:

  • name key value pair: The brand name.
  • tier key value pair: The brand tier.
  • id: The internal identifier that matches to the id for the corresponding flight in PassengerFlight/FlightProduct/Brand.

Includes Identifier and BrandAttribute objects.

Identifier

Brand identifier information:

  • value: The brand id from the supplier.
  • authority: Always contains the value Travelport.

BrandAttribute

Returned only in the detail view. See Branded Fares in Search Basics

Contains one or more instances of the following two paired key value pairs:

  • classification: The brand key value pair classification. Possible values are:
    • CarryOn

    • CheckedBag

    • Meals

    • Seats (model v6 - AirSearch 20.6.x) or SeatAssignment (model v9 - AirSearch 20.9.1 and later)

    • Rebooking

    • Refund

    • Wifi
  • inclusion: Whether the key value pair is included in the price of the fare or is chargeable. Values are either:
    • Included: Attribute is included in the brand at no additional charge.
    • Chargeable: Attribute is available for the brand at a cost.

Result

Includes objects for any warning or error message that is returned.

If returned, may include StatusCode, Message, and Source Code objects.

StatusCode

The HTTP standard response code for the message.

Message

The text of any error message returned.

SourceCode

The error or warning code returned by the provider or host system.