SmartGare
API referenceEndpoints

Question a visit

Records that somebody is not sure about this visit, and why. It stops nothing: the coach keeps moving and may still leave, and only a person settles the doubt. **Required permission:** `cycle.coach-cycle:write`

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

Records that somebody is not sure about this visit, and why. It stops nothing: the coach keeps moving and may still leave, and only a person settles the doubt.

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*OpenCycleReviewRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/cycle/v1/coach-cycles/string/reviews" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "cycle_id": "string",  "id": "string",  "opened_at": "2019-08-24T14:15:22Z",  "opened_by": "string",  "opened_reason": "string",  "status": "OPEN"}