API referenceEndpoints
Close a departure of the current station day by hand
Refused for a departure planned for another station day. **Required permission:** `traffic.station-day-departure:close`
POST
/traffic/v1/station-day/departures/{id}/closureRefused for a departure planned for another station day.
Required permission: traffic.station-day-departure:close
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X POST "https://example.com/traffic/v1/station-day/departures/string/closure"{ "closed_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "delay_minutes": 0, "departure_at": "2019-08-24T14:15:22Z", "generation_source": "SCHEDULE", "id": "string", "itinerary_id": "string", "line_id": "string", "planned_departure_at": "2019-08-24T14:15:22Z", "planned_station_call_local_datetime": "2019-08-24T14:15:22Z", "schedule_id": "string", "station_call_local_datetime": "2019-08-24T14:15:22Z", "station_operational_date": "2019-08-24", "status": "SCHEDULED", "timetable_service_date": "2019-08-24", "updated_at": "2019-08-24T14:15:22Z"}Cancel a departure of the current station day
Refused for a departure planned for another station day. **Required permission:** `traffic.station-day-departure:cancel`
Delay a departure of the current station day
Refused for a departure planned for another station day. **Required permission:** `traffic.station-day-departure:delay`