SmartGare
API referenceEndpoints

Declare a checkpoint

Creates a checkpoint between two station areas.

POST/referential/v1/checkpoints

Creates a checkpoint between two station areas.

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/checkpoints" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "name": "string",    "fromAreaId": "string",    "toAreaId": "string"  }'
{  "id": "string"}