Air Availability by Cabin Class

Air Availability requests can be modified to request availability by the cabin class (class of service). Supported cabin classes can vary by provider or supplier. Universal API supports the following cabin classes:

Universal API does not differentiate between preferred and permitted cabin class. Cabin class preferences are supported at the segment level for Air Availability. Also see Air Pricing by Cabin Class for details on pricing a specified cabin class.

Schema

Located in Air.xsd:

Request

  1. Enter the minimum required data for the AvailabilitySearchReq.
  2. Request specific cabin classes using SearchAirLeg/AirLegModifiers:
  3. Note: Universal API does not currently support ProhibitedCabins for Air Availability requests.

Response

The AvailabilitySearchRsp returns a Air Availability response that is filtered for the preferred or permitted cabins. If no cabin class was specified in the request, the default response returns all cabin classes. If the requested class is not available and the PreferredCabins modifier was sent in the request, other classes may be returned. For example, a request for First class, may contain responses for Business or Coach if the segment does not offer First.

Cabin class data for each air availability solution is included in AirSegmentList/AirSegment/AirAvailInfo/BookingCodeInfo@CabinClass.

Universal API references and validates cached cabin class data on the provider and assigns a cabin class for each booking code returned for each carrier in the response.

If a cabin class is not supported by Universal API, the default is 'Economy'.

Note:The cached cabin class reference data will not be validated for ACH carriers.

Exceptions