API Information

Response Format
XML
Service Action Code
AirSchedulesAndAvailabilityRQ
Current Version
5.0.0
Target Audience
TN
Environment
Production
Documentation
Go to the Air Schedules And Availability documentation

What's New

  • The service is now available for all TN customers.

New Features

In the Request

Optional

Parameter: //OriginDestination/Options/Availability[@quality]

Type: enumeration

Description: Lets the user control the quality of returned availability. Please refer to the documentation under each option for details. Also please note that some options have certain restrictions.

Sample Value:

<Availability quality="TRY_TO_REFRESH" />
Note: Using this element allows to control the quality of the seat availability in the response. Up to two OriginDestinations per request can use enhanced availability quality, each for no more than 24 solutions. The limits do not change for the default availability quality.
Parameter: //OriginDestination//TimeWindow[@reduceDuplicates]

Type: boolean

Description: If true, the service will attempt to remove solutions constructed from segments that are already present in the response, but on a different day. This option is left disabled by default for backwards compatibility.

Sample Value:

<TimeWindow before="2" before-unit="DAYS" after="2" after-unit="DAYS" reduceDuplicates="true" />
Note: This option allows users to increase the diversity of solutions when searching for flights in a multi-day time span.
Parameter: //OriginDestination/Options/Carriers/Carrier[@type]

Type: enumeration

Description: Carriers that must or must not appear in anywhere the response or carriers for which Carrier Specific Display data should be generated, depending on attributes in RequestedCarriers.

Sample Value:

<Carriers> <Carrier type="MARKETING">XX</Carrier> <Carrier type="OPERATING">YY</Carrier> </Carriers>
Note: This element allows specifying if the given carrier should appear as marketing or operating carrier in generated solutions.

Functional Updates And Enhancements

In the Request

Optional

Parameter: cabins

Type: List of CabinCode

Description: List of cabin codes that are required to be available in at least 1 segment in each solution.

Sample Value:

<Availability> <cabins cabins="R F J C" /> </Availability>
Note: The service accepts following Cabin notations: ATPCO (recommended), Legacy Host and Legacy Pricing