SmartGare
API referenceEndpoints

Advance a coach cycle

Moves the coach into the next area of its visit and records why. **Required permission:** `cycle.coach-cycle:write`

POST/cycle/v1/coach-cycles/{id}/advancement

Moves the coach into the next area of its visit and records why.

Required permission: cycle.coach-cycle:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*AdvanceVehicleCycleRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/cycle/v1/coach-cycles/string/advancement" \  -H "Content-Type: application/json" \  -d '{    "access_point_id": "string",    "occurred_at": "2019-08-24T14:15:22Z",    "reason": "string",    "target_stage": "REGULATION"  }'
{  "access_point_id": "string",  "current_stage": "ENTRY",  "id": "string",  "status": "OPEN",  "transitioned_at": "2019-08-24T14:15:22Z",  "vehicle_id": "string"}