API referenceEndpoints
Set a schedule's calling times
Replaces the whole sequence. Every calling point of the itinerary must appear exactly once, and `dayOffset` counts days after the origin service day, so a call after midnight is offset 1 rather than a time that runs backwards.
PUT
/referential/v1/schedules/{id}/stop-timesReplaces the whole sequence. Every calling point of the itinerary must appear exactly once, and dayOffset counts days after the origin service day, so a call after midnight is offset 1 rather than a time that runs backwards.
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
curl -X PUT "https://example.com/referential/v1/schedules/string/stop-times" \ -H "Content-Type: application/json" \ -d '{ "calls": [ { "stopId": "string" } ] }'Empty