Driver Behaviour Metrics
POST request to return the behaviour metrics for each day in the period for a driver. As well as a value for the behaviour metric for each day, the response also includes a value for the behaviour metric for the whole of the specified period.
The value specified for the endDate cannot be before startDate and the date range between startDate and endDate should be at least 7 days.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Body
Request parameters for driver behaviour metrics including date range, metrics keys, and driver identifier
Start date and time for the behaviour metrics period. Format: yyyy-MM-dd'T'HH:mm:ss in UTC.
End date and time for the behaviour metrics period. Format: yyyy-MM-dd'T'HH:mm:ss in UTC.
Array of keys for the KPI to return details for. Possible values:
- DrivingPercentage (Cleaner KPI)
- SpeedCompliance (Safe Speed KPI)
- HarshEventsPercentage (Smoother KPI)
Timezone identifier for the request (e.g., 'Europe/London', 'UTC')
Identifier of a driver
Response
Successful operation
Metric key identifier (e.g., 'DrivingPercentage', 'SpeedCompliance', 'HarshEventsPercentage')
Current metric value for the specified period
Previous metric value for comparison with the current period
Start date and time for the daily metric period
End date and time for the daily metric period
