SmartGare
API referenceEndpoints

Declare a ticket counter

Declares a counter with the code an agent signs in at, its name, its station and its printer's Bridge place. **Required permission:** `referential.station:write`

POST/referential/v1/counters

Declares a counter with the code an agent signs in at, its name, its station and its printer's Bridge place.

Required permission: referential.station:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DeclareStationCounterRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/counters" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "name": "string",    "station_id": "string"  }'
{  "id": "string"}