Get drivers coaching events
GET
/driver/coachingReturns a list of events assigned for coaching of all drivers for the passed in company ID.
:::info[]
Note that events with 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.
:::
User Role Permissions
The following table shows which user roles are allowed to send requests using this API endpoint.
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
Start date for request. YYYYMMDD
End date for request. YYYYMMDD
ID of company
NOTE: only required for partner
role users
Request samples
Responses
Request metadata object
HTTP status code returned by response
Contains response data
The item in which the coaching session was initiated on
Email address of driver coach assigned to this coaching session
Type of coaching session assigned
ID of user who created the coaching session
Email address of driver if provided
Record ID of driver in RoscoLive (not assigned Driver ID)
Due date of coaching session
Timestamp of event to be coached on
Type of the event to be coached on
Record ID of coaching session
Field for notes submitted with coaching session
Status of coaching session
"OK" if successful, else "Fail" if error
{
"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"
}