Search trains and fares
Search for trains and fares, one way or round trip. Add a second entry to originDestinationInformation for the return leg. Fares are dynamic, so always price against a fresh search. Set availableFlightsOnly to false to also see sold-out classes; a class with resBookDesigQuantity of 0 (or status other than A) is sold out.
When nothing matches, the response is still 200 with an empty pricedItinerary list, not an error. A round trip is searched one leg at a time and combined, so both legs need a train.
Headers
x-api-key
local-name
Routes the request to the search operation.
Allowed values:
Request
This endpoint expects an object.
pos
Point of sale. Identifies the agent and channel behind the request.
version
originDestinationInformation
One entry for one way, two for a round trip.
processingInfo
specificFlightInfo
travelerInfoSummary
availableFlightsOnly
Set to false to also return sold-out classes. A class with resBookDesigQuantity 0 is sold out.
Response
Matching trains with dynamic fares by class.
success
timeStamp
pricedItineraries

