SmartGare
API referenceEndpoints

Get one presentation

Returns everything read of one coach at one control point, and what the readings say together. **Required permission:** `cycle.coach-cycle:read`

GET/cycle/v1/access-attempts/{id}

Returns everything read of one coach at one control point, and what the readings say together.

Required permission: cycle.coach-cycle:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/cycle/v1/access-attempts/string"
{  "access_point_id": "string",  "clock_skew_tolerance": "string",  "confirmed_vehicle_id": "string",  "correlation_ends_at": "2019-08-24T14:15:22Z",  "correlation_window": "string",  "direction": "INBOUND",  "entry_checks": [    {      "details": {        "property1": "string",        "property2": "string"      },      "input": "STATION_OPEN",      "outcome": "PASSED",      "reasons": [        "string"      ]    }  ],  "entry_decided_at": "2019-08-24T14:15:22Z",  "entry_decision": "ADMITTED",  "entry_refusal": "STATION_CLOSED",  "first_received_at": "2019-08-24T14:15:22Z",  "id": "string",  "identification_assessment": "DOUBLE_IDENTIFIED",  "identification_policy_state": "RESOLVED",  "identification_rule_version_id": "string",  "keypad_entries": [    {      "assessment": "IDENTIFIED",      "id": "string",      "reading_id": "string",      "received_at": "2019-08-24T14:15:22Z",      "recorded_by": "string",      "source": "string",      "vehicle_cycle_id": "string"    }  ],  "lane_id": "string",  "matched_cycle_id": "string",  "observations": [    {      "access_attempt_id": "string",      "access_point_id": "string",      "candidate_vehicle_id": "string",      "clock_offset": "string",      "clock_reliability": "WITHIN_TOLERANCE",      "confidence": 0,      "device_at": "2019-08-24T14:15:22Z",      "direction": "INBOUND",      "id": "string",      "identifier_type": "PLATE",      "lane_id": "string",      "purpose": "STATION_ENTRY",      "raw_text": "string",      "reading_id": "string",      "received_at": "2019-08-24T14:15:22Z",      "recorded_by": "string",      "resolution_assessment": "RESOLVED",      "resolved_vehicle_id": "string",      "source": "string",      "supersedes_observation_id": "string"    }  ],  "purpose": "STATION_ENTRY",  "regulation_exit_outcome": "CYCLE_ADVANCED"}