Read how a visit's charge was closed
Every close of this visit's chargeable stay, oldest first, with the instants an invoice is worked out from and whether billing has been told yet. **Required permission:** `cycle.coach-cycle:read`
/cycle/v1/coach-cycles/{id}/chargeable-stay-closuresEvery close of this visit's chargeable stay, oldest first, with the instants an invoice is worked out from and whether billing has been told yet.
Required permission: cycle.coach-cycle:read
Authorization
oauth2 In: header
Path Parameters
Response Body
*/*
curl -X GET "https://example.com/cycle/v1/coach-cycles/string/chargeable-stay-closures"{ "data": [ { "announced_at": "2019-08-24T14:15:22Z", "bay_entered_at": "2019-08-24T14:15:22Z", "bay_left_at": "2019-08-24T14:15:22Z", "carrier_id": "string", "closed_at": "2019-08-24T14:15:22Z", "closed_by": "COUNTER_REQUEST", "correlation_id": "string", "cut_off_policy": "SETTLEMENT_REQUESTED", "cycle_id": "string", "entered_at": "2019-08-24T14:15:22Z", "id": "string", "recorded_at": "2019-08-24T14:15:22Z", "recorded_by": "string", "regulation_entered_at": "2019-08-24T14:15:22Z", "regulation_left_at": "2019-08-24T14:15:22Z", "revision": 0, "vehicle_id": "string" } ]}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`
Trace a visit's confirmed exit
The confirmed exit that ended the visit: the coach and who is billed for it, when it entered and left, the way it got out and who let it out, the exit policy and its version, the charge revision and, where the exit holds, where the payment stood. No amount and no debt. A correction of the instant it left appears beside it. **Required permission:** `cycle.coach-cycle:read`