SmartGare
API referenceEndpoints

Put a coach under an authorization

Records which vehicle runs under the authorization from a date. Any coach in place is closed the day before — the register carries one vehicle per authorization number.

POST/referential/v1/authorizations/vehicle-coverages

Records which vehicle runs under the authorization from a date. Any coach in place is closed the day before — the register carries one vehicle per authorization number.

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/authorizations/vehicle-coverages" \  -H "Content-Type: application/json" \  -d '{    "transportAuthorizationId": "string",    "vehicleId": "string",    "effectiveFrom": "2019-08-24"  }'
{  "id": "string"}