SmartGare
API referenceEndpoints

Change a schedule by declaring its successor revision

**Required permission:** `traffic.schedule:write`

POST/traffic/v1/schedules/{id}/revisions

Required permission: traffic.schedule:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*ChangeScheduleRequest

Response Body

*/*

curl -X POST "https://example.com/traffic/v1/schedules/string/revisions" \  -H "Content-Type: application/json" \  -d '{    "effective_from": "2019-08-24"  }'
{  "id": "string"}