🦸User Details
{BASE_URL}/v1/metrixConfig/dashboard/2/widget/{WidgetID}
{
'dashboardId': 2,
'startTime': StartTime,
'endTime': EndTime,
'periodical': 'DAILY',
'filterObject': [
{
key : "userId"
requestFilterType: "EQUAL"
value: UserId
}
]
};WidgetID : Integer, refer to last section of doc.
UserId : Integer, User to see data of
StartTime: Date And Time in the format of YYYY-MM-DDTHH:MM:SS.000Z from which data search will start
EndTime: Date And Time in the format of YYYY-MM-DDTHH:MM:SS.000Z from which data search will end
List of Supported Widget ID's and description
Widget ID : Widget Description
5 - Driver Name, Average Kms distance driven and Average Hrs drive duration.
6 - Aggregated Safety Scores for each - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
7 - Trip Count - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
8 - Distance travelled - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
9 - Drive Duration - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
10 - Speeding, Braking, Acceleration and Lane Change Score - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration. Also, individual scores can be mapped with labelName key(ex: Speeding Score & Global Speeding AVG).
12 - Turning Score - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
13 - Fatigue Score - day wise
Aggregated data comes with displayType as TEXT and individual data will be present with displayType as BAR_GRAPH. A null value signifies as no trips were taken for that duration.
Last updated
Was this helpful?