Air Pricing by Cabin Class
Air Pricing requests can be modified to request pricing by a specified cabin class. Supported cabin classes can vary by provider or supplier. Universal API supports the following cabin classes:
-
Premium First
-
First
-
Business
-
Premium Economy
-
Economy (Coach)
See Air Pricing by Booking Class for more details about pricing a specific booking class.
Notes:
- Preferred and prohibited classes are not supported for an Air Pricing request.
-
Worldspan (1P) Air Price responses do not return cabin class information.
-
For all schema versions, if a cabin class is requested in an Air Pricing request for 1P, Universal API returns the message "CabinClass is not supported." If a cabin class is requested for 1G or 1V, the following message is returned: "CabinClass was ignored. Please use AirPricingModifiers/PermittedCabins/CabinClass/@Type or AirPricingCommand/AirSegmentPricingModifiers/@CabinClass."
Schema
Located in Air.xsd:
How To
-
Enter minimum required data in the AirPriceReq.
-
Specify the cabin class in either the individual leg (segment) level or the itinerary (booking) level. CabinClass @Type values include PremiumFirst, First, Business, Economy, PremiumEconomy.
- Worldspan (1P) does not support PermittedCabins.
- Prohibited and Preferred cabins are not supported for Air Price by Cabin Class.
-
The AirPriceRsp returns and filters for the preferred or permitted cabins. If no cabin class is specified in the request, the default response returns all cabin classes.
Permitted cabin classes at the itinerary level are specified in AirPriceReq/AirPricingModifiers/PermittedCabins/CabinClass @Type, which requests availability for the selected cabin class. When the requested cabin is not available (usually on a connecting flight) an alternative Cabin may be sought. This is supported in Galileo (1G) and Apollo (1V), but not for Worldspan (1P) at an itinerary level.
Only one cabin class can be requested on Galileo (1G) and Apollo (1V). If that class is not available, no additional options are returned in the response.
Notes:
Cabin classes can be specified for up to eight segments using the CabinClass attribute in AirPriceReq/AirPricingCommand/AirSegmentPricingModifiers. The AirSegmentRef attribute in AirSegmentPricingModifiers is checked to determine the segment.
Separate CabinClass values are supported for separate segments, when the AirSegmentPricingModifiers @AirSegmentRef attribute is also provided.
Cabin class is automatically populated with the same cabin class as the itinerary level (AirPriceReq/AirPricingModifiers/PermittedCabins) for any segments with no cabin class. If there is no itinerary-level cabin class, it is not sent for those specific segments.
Note:PermittedBookingCodes has priority over CabinClass in AirSegmentPricingModifiers.
Cabin class data for each air pricing solution is included in AirPricingSolution/AirPricingInfo/Booking Info @CabinClass.
Note: Cabin class is not returned in the AirPriceRsp for 1P.
Exceptions
Worldspan
Worldspan (1P) Air Price responses do not return cabin class information.
Worldspan (1P) does not support PermittedCabins (PermittedCabins/CabinClass @Type).
ACH
ACH does not support CabinClass modifiers for Low Cost Carriers (LCCs) in AirSegmentPricingModifiers because ACH requires a Fare Basis Code in the Price request. If a Price request is made for an ACH segment, any CabinClass modifiers are ignored, and a warning is returned: ACH does not support the Cabin Class modifier during Pricing.