SmartGare
API referenceEndpoints

Declare a bay

Creates a bay in a station area.

POST/referential/v1/bays

Creates a bay in a station area.

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/bays" \  -H "Content-Type: application/json" \  -d '{    "stationAreaId": "string",    "code": "string",    "position": 0  }'
{  "id": "string"}