Rail Availability Modifiers
A number of options can be added to a Rail Availability request to narrow the search results for Rail segments based on Search, Pricing, and Leg modifiers.
See Low Fare Shopping Modifiers for modifiers supported specifically for Air Segments.
Note: The Low Fare Shopping request is used for both air and rail searches. Some modifiers that are available in the Low Fare Shopping request do not apply to Rail Availability and are ignored in the Rail Availability request.
Rail Availability Search Modifiers
Search Modifier |
Description |
---|---|
MaxChanges Direction |
Allows journeys to be requested by Journey Type, which includes:
|
Class |
Cabin Class can be specified for all legs in a journey using RailSearchModfiers @Class. Cabin class can also be specified for an individual leg using RailLegModifiers @Class. |
PreferredSuppliers |
Searches for a preferred rail supplier (distributor). |
MaxSolutions |
The maximum number of solutions to return. |
Rail Availability Pricing Modifiers
Pricing Modifier |
Description |
---|---|
ProhibitNonRefundableFares
|
Limits responses to only those fares that can be refunded. Currently, SNCF (2C) is the only supplier that supports refundable rail fares for Rail Availability searches. If non-refundable fares are prohibited for a supplier other than SNCF that does not support this fare modifier, Universal API ignores the modifiers and returns a warning. |
ProhibitNonExchangeableFares |
Limits responses to only those fares that can be exchanged. Currently, SNCF (2C) is the only supplier that supports exchangeable rail fares for Rail Availability searches. If non-exchangeable fares are prohibited for a supplier other than SNCF that does not support this fare modifier, Universal API ignores the modifiers and returns a warning. |
CurrencyType |
Three-letter currency code |
RailSearchType | Rail Search Type options. Note: Supported by NTV/VF only for “All Fares” “Lowest Fare” and “One Fare Per Class”. |
DiscountCard |
The associated traveler discount card applied to the fare. Multiple Discount Codes can be sent in the request, and a request can include both discounted and non-discounted passengers.
|
Rail Availability Leg Modifiers
Leg Modifier |
Description |
---|---|
Class |
Cabin Class can also be specified for an individual leg using RailLegModifiers @Class. Cabin class can can be specified for all legs in a journey using RailSearchModfiers @Class. |
PermittedConnectionPoints ProhibitedConnectionPoints |
Connecting Cities are also known as Via/Not Via routes. Specifies permitted or prohibited IATA city and airport codes as connection points. |
Unsupported Modifiers
The following modifiers are supported for Rail segments through the Low Fare Shopping search, but are not supported for Rail Availability searches:
The following modifiers are not supported for either Rail Availability Search or Low Fare Shopping:
-
Flexible shopping (i.e., search multiple origins/destinations, multiple departure/arrival times, by distance/weekends, extra days)
- Time window
-
Ticket type (e-ticketing)
-
Public fares only
-
Private fares only
-
Agency private fares only
-
Airline private fares only
-
Public and private fares
-
Account code
-
Contract code
-
No minimum/maximum stay
-
No advance purchase
-
Plating carrier