Check whether a coach would be let in
Answers the decision the station entry would take for the coach at the time asked (now when absent): let in or refused, with every reason, the services today that make it eligible and the grants it may run. Assumes a fresh presentation identifies the coach. Records nothing and orders no barrier. **Required permission:** `cycle.coach-cycle:read`
/cycle/v1/checkpoints/{id}/entry-checkAnswers the decision the station entry would take for the coach at the time asked (now when absent): let in or refused, with every reason, the services today that make it eligible and the grants it may run. Assumes a fresh presentation identifies the coach. Records nothing and orders no barrier.
Required permission: cycle.coach-cycle:read
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
curl -X POST "https://example.com/cycle/v1/checkpoints/string/entry-check" \ -H "Content-Type: application/json" \ -d '{ "vehicle_id": "string" }'{ "admitted": true, "assessed_at": "2019-08-24T14:15:22Z", "assumption": "string", "blocks": [ { "kind": "string", "reference": "string", "since": "2019-08-24T14:15:22Z" } ], "checkpoint_id": "string", "eligible_grants": [ "string" ], "reasons": [ "STATION_CLOSED" ], "requested_at": "2019-08-24T14:15:22Z", "services": [ { "call_at": "2019-08-24T14:15:22Z", "closed": true, "departure_id": "string", "grant_id": "string", "kind": "string", "line_id": "string", "tie": "TIMETABLE" } ], "station_date": "2019-08-24", "station_opening": "string", "unavailable": [ "string" ], "vehicle_id": "string"}List lane barriers
Returns every barrier the station has heard from, by checkpoint: up or down, and since when. A barrier goes up when it takes an order to open or reports itself open, and down only when it reports itself closed. **Required permission:** `cycle.coach-cycle:read`
Search questioned visits
Returns the doubts raised about visits, newest first. **Required permission:** `cycle.coach-cycle:read`