SmartGare
API referenceEndpoints

List a schedule's calls at a station this deployment runs

Every occurrence of this schedule calling at one of our stations, in calling order. Zero, one or several: a schedule that never comes here answers empty, and one that calls twice answers twice.

GET/referential/v1/schedules/{id}/station-calls

Every occurrence of this schedule calling at one of our stations, in calling order. Zero, one or several: a schedule that never comes here answers empty, and one that calls twice answers twice.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/referential/v1/schedules/string/station-calls"
[  {    "scheduleId": "string",    "stopId": "string",    "position": 0,    "stationId": "string",    "arrivalTime": "string",    "departureTime": "string",    "dayOffset": 0,    "forBoarding": true,    "forAlighting": true  }]