SmartGare
API referenceEndpoints

Record who operates a line, from a date

Names exactly one operator: a carrier or a coordination. Leave the end date empty for an open-ended operation.

POST/referential/v1/lines/{id}/operations

Names exactly one operator: a carrier or a coordination. Leave the end date empty for an open-ended operation.

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 POST "https://example.com/referential/v1/lines/string/operations" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string"}