Withdraw the test code from a keypad
Has the keypad at the address end the test code the plate TEST holds, through the station's hardware bridge. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and never fails because of the bridge. **Required permission:** `referential.keypad-test-code:delete`
/referential/v1/keypad-test-codes/withdrawalHas the keypad at the address end the test code the plate TEST holds, through the station's hardware bridge. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and never fails because of the bridge.
Required permission: referential.keypad-test-code:delete
Authorization
oauth2 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/keypad-test-codes/withdrawal" \ -H "Content-Type: application/json" \ -d '{ "address": "string" }'{ "address": "string", "order": "DELIVERED"}Place a test code on a keypad
Has the keypad at the address take a fresh eight-digit code through the station's hardware bridge, for the plate TEST, which names no coach, valid five minutes. Answers the order's outcome — DELIVERED, NOT_DELIVERED or OUTCOME_UNKNOWN — and, unless NOT_DELIVERED, the code and when it runs out; never fails because of the bridge. Nothing is kept of the code. Each request places one code, which replaces the one before. **Required permission:** `referential.keypad-test-code:create`
Read a reader's last reading
Reads, once, what the station's hardware bridge still keeps of the reader at the address — a plate camera, a UHF tag reader or a badge reader — and answers the last plate or tag read with when it was read: READ, NONE_HELD when the bridge holds none within the window it keeps, or BRIDGE_UNREACHABLE when no bridge is configured or it gave no usable answer in time. Nothing is recorded, and the bridge never fails this read. **Required permission:** `referential.last-reading:read`