SmartGare
API referenceEndpoints

List a schedule's calling times

The times at each point of the itinerary, in calling order. Empty when none have been set — the schedule then announces only its origin departure.

GET/referential/v1/schedules/{id}/stop-times

The times at each point of the itinerary, in calling order. Empty when none have been set — the schedule then announces only its origin departure.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/schedules/string/stop-times"
[  {    "id": "string",    "stopId": "string",    "stationId": "string",    "position": 0,    "kind": "ORIGIN",    "arrivalTime": "string",    "departureTime": "string",    "dayOffset": 0,    "forBoarding": true,    "forAlighting": true,    "announcedDeparture": true  }]