SmartGare
API referenceEndpoints

List a coach cycle's movements

Returns the visit's journal in sequence order. **Required permission:** `cycle.coach-cycle:read`

GET/cycle/v1/coach-cycles/{id}/movements

Returns the visit's journal in sequence order.

Required permission: cycle.coach-cycle:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

curl -X GET "https://example.com/cycle/v1/coach-cycles/string/movements"
{  "data": [    {      "access_attempt_id": "string",      "access_point_id": "string",      "cycle_id": "string",      "exit_passage_id": "string",      "from_stage": "ENTRY",      "id": "string",      "occurred_at": "2019-08-24T14:15:22Z",      "reason": "string",      "recorded_at": "2019-08-24T14:15:22Z",      "recorded_by": "string",      "sequence": 0,      "source": "OPERATOR_TRANSITION",      "to_stage": "ENTRY"    }  ]}