List transport stations
- Booking
- Transport
- 1 route
How do I list the transport stations available for a locale?
This scenario explains how to retrieve the transport stations available for a given locale. It also supports filtering by B2C or B2B usage and restricting the result set to stations in the same country as the currently selected station.
It fits transport search, quotation preparation, and assisted-sales journeys.
Overview
This scenario helps an application populate a departure-station selector for a specific locale.
Prerequisites
- An
accept-languageheader matching the target locale. - Optionally a
tagsfilter to distinguishb2candb2busage. - Optionally the parameter that restricts results to the country of the currently selected station.
Expected result
The application receives an exploitable list of transport stations with identifiers, labels, types, and usage tags.
1
List the available transport stations
Mandatory
GET/v1/transport_stations
S