SmartGare
API referenceEndpoints

Declare a schedule

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

POST/traffic/v1/schedules

Required permission: traffic.schedule:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DeclareScheduleInput

Response Body

*/*

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