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`
/referential/v1/keypad-test-codesHas 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
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" \ -H "Content-Type: application/json" \ -d '{ "address": "string" }'{ "address": "string", "code": "string", "expires_at": "2019-08-24T14:15:22Z", "order": "DELIVERED"}Change an itinerary by declaring its successor revision
**Required permission:** `referential.itinerary:write`
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`