SmartGare
API referenceEndpoints

Attach an unknown coach's visit to the coach it was

Once its doubt is settled, files the visit of a coach nobody could name under the registered coach it really was, keeping the evidence it was first filed under and who attached it, when and why. Taken once. **Required permission:** `cycle.coach-cycle-review:resolve`

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

Once its doubt is settled, files the visit of a coach nobody could name under the registered coach it really was, keeping the evidence it was first filed under and who attached it, when and why. Taken once.

Required permission: cycle.coach-cycle-review:resolve

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*AttachUnknownVisitRequest

Response Body

*/*

*/*

*/*

curl -X POST "https://example.com/cycle/v1/coach-cycles/string/attachment" \  -H "Content-Type: application/json" \  -d '{    "reason": "string",    "vehicle_id": "string"  }'
{  "attached_at": "2019-08-24T14:15:22Z",  "attached_by": "string",  "filed_under": "string",  "reason": "string",  "vehicle_cycle_id": "string",  "vehicle_id": "string"}