departures
Retrieve single departure
get/v2/departures/departure/{id}/{station}/{date}
Request
- Base URLhttp://localhost:8080
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Service ID
stationstring required
Station code (uppercase)
datestring date required
Service date
Query parameters
verboseboolean
Verbose departures (returns wings, material and route stops)
language'nl' | 'en'
Language
Response
Default response
Example response
{
"departure": {
"destination_actual": "Amsterdam Centraal",
"destination_actual_codes": [
"ASD"
],
"destination_planned": "Alkmaar",
"platform_planned": "13a",
"platform_changed": true,
"remarks": [
"Gewijzigd spoor"
],
"tips": [
"Stopt op alle tussengelegen stations"
],
"station": "LEDN",
"status": 5,
"type": "Intercity",
"type_code": "IC",
"via": "Haarlem, Schiphol",
"wings": [
{
"destination_actual": {
"code": "GVC",
"short": "Den Haag C",
"medium": "Den Haag C.",
"long": "Den Haag Centraal"
},
"destination_planned": {
"code": "GVC",
"short": "Den Haag C",
"medium": "Den Haag C.",
"long": "Den Haag Centraal"
},
"material": [
{
"destination": "GVC",
"destination_code": "Den Haag Centraal",
"number": "4024",
"type": "ICM-3"
}
],
"stops": [
{
"code": "GVC",
"short": "Den Haag C",
"medium": "Den Haag C.",
"long": "Den Haag Centraal",
"arrival_platform": "8",
"departure_platform": "8"
}
]
}
]
},
"status": "UP"
}Changes
No recorded changes to this operation across all 2 revisions of this API.