Report a code typed at a keypad
Checks what was typed and records the attempt. **The answer is the same whatever the station concluded** — a wrong code, an expired one, one ended by hand and one used at the wrong point are indistinguishable from here, because a keypad that answered differently would tell whoever is standing at it which they hold. What the station concluded is stored and read afterwards. A right code says which coach is at the point; it allows nothing. **Required permission:** `cycle.coach-cycle:write`
/cycle/v1/temporary-access-code-presentationsChecks what was typed and records the attempt. The answer is the same whatever the station concluded — a wrong code, an expired one, one ended by hand and one used at the wrong point are indistinguishable from here, because a keypad that answered differently would tell whoever is standing at it which they hold. What the station concluded is stored and read afterwards. A right code says which coach is at the point; it allows nothing.
Required permission: cycle.coach-cycle:write
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/cycle/v1/temporary-access-code-presentations" \ -H "Content-Type: application/json" \ -d '{ "access_point_id": "string", "code": "string", "direction": "INBOUND", "lane_id": "string", "purpose": "STATION_ENTRY", "reading_id": "string", "source": "string" }'{ "access_attempt_id": "string", "duplicate": true, "id": "string"}List safety release sources
Returns every safety release source the station has heard from: whether its signal is raised or cleared now, when the panel said so and when the station bridge heard it. The release itself is hardwired: this only says what was read. **Required permission:** `cycle.coach-cycle:read`
End a temporary access code early
Ends a code before it expires, with the reason somebody had. Expiry, using up its passages and the coach leaving end a code on their own and are not recorded here; this is the one ending that is a decision. **Required permission:** `cycle.access-code:write`