This API returns all the drivers within this account along with the vehicle they are currently operating.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Request samples
curl --location --request GET '/drivers/list?acctId&token' \
--header 'x-api-key;'
Responses
drivers
array [object {9}]
optional1:OFF_DUTY ,2:SLEEPER_BERTH,3:DRIVING,4:ONDUTY
{
"drivers": [
{
"driverId": "string",
"driverName": "string",
"driverPhone": "string",
"deviceId": "string",
"vehicleName": "string",
"onlineStatus": "string",
"firstName": "string",
"lastName": "string",
"driverHosState": "string"
}
]
}
Modified at 2025-02-28 08:12:14