API referenceEndpoints
Get a schedule
**Required permission:** `traffic.schedule:read`
GET
/traffic/v1/schedules/{id}Required permission: traffic.schedule:read
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
curl -X GET "https://example.com/traffic/v1/schedules/string"{ "created_at": "2019-08-24T14:15:22Z", "day_cycle": { "anchor_date": "2019-08-24", "days_in_cycle": [ 0 ], "length_days": 0 }, "effective_from": "2019-08-24", "effective_to": "2019-08-24", "id": "string", "itinerary_id": "string", "operating_days": [ "MONDAY" ], "overrides": [ { "created_at": "2019-08-24T14:15:22Z", "created_by": "string", "id": "string", "kind": "CANCELLED", "reason": "string", "timetable_service_date": "2019-08-24" } ], "predecessor_schedule_id": "string", "status": "string", "stop_times": [ { "announced_departure": true, "arrival_time": "string", "day_offset": 0, "departure_time": "string", "id": "string", "service_kind": "BOARD_ONLY", "stop_id": "string" } ], "successor_schedule_id": "string", "suspended_from": "2019-08-24", "transport_authorization_id": "string", "updated_at": "2019-08-24T14:15:22Z"}