SmartGare
API referenceEndpoints

Publish a draft schedule

Validates the complete calling sequence against this station's boundary, resolves the one occurrence the station announces, closes the predecessor when the draft is a revision, and publishes. A schedule is not a timetable until this succeeds.

POST/referential/v1/schedules/{id}/activation

Validates the complete calling sequence against this station's boundary, resolves the one occurrence the station announces, closes the predecessor when the draft is a revision, and publishes. A schedule is not a timetable until this succeeds.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/schedules/string/activation"
{  "id": "string",  "announcedCallId": "string",  "closedPredecessorId": "string"}