API referenceEndpoints
Declare a checkpoint
Creates a checkpoint between two station areas, with its purpose, the direction coaches pass it and the devices it is equipped with, each an enrolled equipment whose type is its function. **Required permission:** `referential.checkpoint:write`
POST
/referential/v1/checkpointsCreates a checkpoint between two station areas, with its purpose, the direction coaches pass it and the devices it is equipped with, each an enrolled equipment whose type is its function.
Required permission: referential.checkpoint:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*DeclareCheckpointInput
Response Body
*/*
*/*
*/*
*/*
curl -X POST "https://example.com/referential/v1/checkpoints" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "direction": "INBOUND", "from_area_id": "string", "name": "string", "purpose": "STATION_ENTRY", "to_area_id": "string" }'{ "id": "string"}