Home / API Documentation

Get driver behaviour by date range

Method: GET api/v1/GPS/GetDriverBehavior?companyid={companyid}&fromdate={fromdate}&todate={todate}&vehicle={vehicle}&branchid={branchid}

Response Format:

application/json

Required Parameters Description Additional information
companyid

Define this parameter in the request URI.

fromdate

Define this parameter in the request URI.

todate

Define this parameter in the request URI.

vehicle
by default -999=> all vehicles

Define this parameter in the request URI.

branchid
by default -999=> all branches

Define this parameter in the request URI.

application/json, text/json

Sample Response:
                        [
  {
    "mobileid": 1,
    "vehiclename": "sample string 1",
    "DeviceName": "sample string 2",
    "Driver": "sample string 3",
    "Brake": 4,
    "Acceleration": 5,
    "Turn": 6,
    "Idle": 7,
    "Seatbelt": 8,
    "Total": 9,
    "vehicleid": 10,
    "employeeid": 11
  },
  {
    "mobileid": 1,
    "vehiclename": "sample string 1",
    "DeviceName": "sample string 2",
    "Driver": "sample string 3",
    "Brake": 4,
    "Acceleration": 5,
    "Turn": 6,
    "Idle": 7,
    "Seatbelt": 8,
    "Total": 9,
    "vehicleid": 10,
    "employeeid": 11
  }
];