This API returns the Driver’s overall details along with the current status. The API requires Account ID and Driver ID as input parameter.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Body Params application/json
{
"acctId": "string",
"driverId": "string"
}
Request Code Samples
curl --location --request POST '/devices/driver-overview' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"acctId": "string",
"driverId": "string"
}'
Responses
[
{
"breakRequired": 0,
"status": 0,
"shiftLimit": "string",
"vehicle": "string",
"violation": [
{
"id": 0,
"userId": "string",
"type": 0,
"shortDate": 0,
"startTime": 0,
"endTime": 0,
"flag": 0
}
],
"driverId": "string",
"driverPhone": "string",
"cycleLimit": 0,
"violationNum": 0,
"shortDate": 0,
"driverName": "string",
"driverEmail": "string",
"drivingLimit": 0
}
]
Modified at 2025-02-28 08:12:14