has_feedback=true
are not returned and are not considered when calculating driver score. Coaching sessions with coaching_type="score"
are returned in any case.Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
partner
role userscurl --location --request GET 'https://fleet.roscolive.com/api/v1.0/driver/coaching?start_date&end_date&company_id=12345'
{
"meta": {
"code": 200
},
"response": [
{
"action_item": "200.0",
"coach_email": "coach@example.com",
"coaching_type": "score",
"created_by": 551,
"driver_email": null,
"driver_first_name": "John",
"driver_id": 67,
"driver_last_name": "Smith",
"due_date": "2025-02-06",
"event_ts": null,
"event_type": null,
"id": 71,
"note": null,
"status": "incomplete"
},
{
"action_item": 116404825,
"coach_email": "coach@example.com",
"coaching_type": "event",
"created_by": 551,
"driver_email": "jsmith@example.com",
"driver_first_name": "John",
"driver_id": 67,
"driver_last_name": "Smith",
"due_date": "2025-02-07",
"event_ts": "Thu, 02 Jan 2025 15:12:27 GMT",
"event_type": "Distraction",
"id": 72,
"note": "Driver is looking at phone",
"status": "complete"
}
],
"result": "OK"
}