Rail Availability by Cabin Class

Rail Availability requests can be modified to request availability by the cabin class (class of service). Supported cabin classes can vary by provider or supplier.

Rail Availability searches only for the selected cabin class. If that class is not available, no alternate options are returned in the response.

Note: Low Fare Shopping for Rail supports preferred and permitted options in the cabin request. Preferred requests return alternate cabins if the requested cabin class is not available.

Prohibited cabin classes are not currently supported for Rail segments through either Rail Availability or Rail Low Fare Shopping.

Request

In Rail Availability, cabin classes can be specified in either the individual segment level or the itinerary (booking) level for each segment in the itinerary. Multiple cabin classes can be included in the request.

Itinerary-Level Request

Itinerary-level (booking-level) cabin preferences are specified in the Class attribute of RailAvailabilitySearchReq\RailSearchModifiers. When requested at this level, the permitted cabin applies to all applicable segments in the itinerary.

The specified class applies to all segments in the itinerary.

Segment-Level Request

Segment-level cabin preferences are specified in the Class attribute of RailAvailabilitySearchReq\SearchRailLeg\RailLegModifiers.

Minimum Required Data

Current Rail suppliers support only the following enumerated values for @Class:

If an unsupported cabin class is requested:

Response

The response returns a Rail Availability response that is filtered for the requested cabin class. If no cabin class is specified in the request, the default response returns all cabin classes.

Cabin class data for each air pricing solution is included in CabinClass attribute of the RailFare element, which is located in RailAvailabilitySearchRsp/RailFareList/.

The values of theCabinClass attribute are:

If the supplier does not specify a cabin class for the response, Standard-class options are returned.

Errors and Warnings

Multiple cabin classes are not supported by RCS. If multiple classes are included in the request, only the first cabin class is processed, and a warning is returned: Search of multiple cabin options is not supported. Only the first cabin option has been searched.

Exceptions

BeNe

BeNe does not support class of service requests for inbound segments. If a class is specified in the request, it is ignored and a warning is returned: RailPref/@Class and RailPref/@MaxChanges are supported at booking level. Only OUTBOUND or BOTH preferences if present are taken. The INBOUND preferences are discarded.