SmartGare
API referenceEndpoints

End an operator's run on a stated day

A successor may start the next day; the two periods must not overlap.

POST/referential/v1/line-operator-assignments/{operationId}/end

A successor may start the next day; the two periods must not overlap.

AuthorizationBearer <token>

In: header

Path Parameters

operationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/referential/v1/line-operator-assignments/string/end" \  -H "Content-Type: application/json" \  -d '{    "lastDay": "2019-08-24"  }'
Empty