get https://api.motion-s.com/analytics/context/v1/summary
Get context summary for fleet, driver, device or trip depending on the query parameters.
Defaut time window is from 14 days ago until present time.
'from_datetime' overrides 'days'.
All distances are expressed in km.
-
Fleet, driver, device and trip:
- elapsed_time: sum of trips' duration
- distance: total distance in km
- number_of_locations: total number of locations
- number_of_trips: total number of trips
- max_speed: max speed
- countries_visited: countries visited
- road_rural_distance: total distance on rural area
- road_urban_distance: total distance on urban area
- road_motorway_distance: total distance on motorway area
- peak_morning_distance: total distance during the peak morning
- peak_afternoon_distance: total distance during the peak afternoon
- road_quality_distance_good: total distance on good quality road
- road_quality_distance_fair: total distance on fair quality road
- road_quality_distance_poor: total distance on poor quality road
- weather_distance_clear: total distance with clear weather
- weather_distance_cloudy: total distance with cloudy weather
- weather_distance_fog: total distance with fog
- weather_distance_rain: total distance under rain
- weather_distance_snow_or_ice: total distance under snow or ice
-
Fleet :
- average_speed: for each driver, weighted average of trip average speed and then average of
this value weighted by distance per driver - average_roughness: for each driver, weighted average of trip average roughness and then average
of this value weighted by distance per driver - average_slope: for each driver, weighted average of trip average slope and then average of
this value weighted by distance per driver - average_traffic_speed: for each driver, weighted average of trip average traffic speed and
then average of this value weighted by distance per driver - average_IRI: for each driver, weighted average of trip average iri and
then average of this value weighted by distance per driver
- average_speed: for each driver, weighted average of trip average speed and then average of
-
Driver or Device:
- average_speed: weighted average of trip average speed
- average_roughness: weighted average of trip average roughness
- average_slope: weighted average of trip average slope
- average_traffic_speed: weighted average of trip average traffic speed
- average_IRI: weighted average of trip average iri
-
Trip:
- average_speed: average speed of a trip
- average_roughness: trip average roughness of a trip
- average_slope: average slope of a trip
- average_traffic_speed: average traffic speed of a trip
- average_IRI: average iri of a trip