SmartGare
API referenceEndpoints

Open one barrier to try it

Orders the barrier at the address open once through the station's hardware bridge, with no coach and no visit; it goes back by itself. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and never fails because of the bridge. DELIVERED says the order was taken, never that the arm rose. Each request opens it once, even while a coach's visit is open at that lane. **Required permission:** `referential.barrier-test-opening:create`

POST/referential/v1/barrier-test-openings

Orders the barrier at the address open once through the station's hardware bridge, with no coach and no visit; it goes back by itself. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and never fails because of the bridge. DELIVERED says the order was taken, never that the arm rose. Each request opens it once, even while a coach's visit is open at that lane.

Required permission: referential.barrier-test-opening:create

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*OpenOneBarrierRequest

Response Body

*/*

curl -X POST "https://example.com/referential/v1/barrier-test-openings" \  -H "Content-Type: application/json" \  -d '{    "address": "string"  }'
{  "address": "string",  "order": "DELIVERED"}