FleetUp API Docs
  1. Account & User & Device
FleetUp API Docs
  • Quick Start
    • Your First API Call
    • Token Expiration
    • Rate Limit
    • Error Codes
  • API Reference
    • Introduction
    • Authentication
      • /token
      • Obtain JWT Token
    • Account & User & Device
      • /account-info
        POST
      • /users
        GET
      • /drivers/list
        GET
      • /devices
        POST
      • /devices/status
        POST
      • /devices/unlock
        POST
      • /devices/driver-overview
        POST
      • /devices/engine-hours
        POST
      • /devices/fuel-level
        POST
      • /devices/odometer
        POST
      • /devices/latest-ecu-data
        POST
      • /devices/{device-id}
        PUT
      • /devices/{device-type}
        GET
      • /devices/{device-type}/details
        POST
      • /devices/{device-type}/history
        POST
    • Trips
      • /trips/history
      • /trips/ongoing-trips
    • Trip Share
      • /tripshare/live-eta
      • /tripshare/partners
      • /tripshare/share
    • Alerts
      • /alerts/summary
      • /alerts/history
      • /alerts/bulk-history
      • /fencealerts/fence-names
      • /fencealerts/geo-fencealerts
    • Location
      • Retrieve GPS data within a 24-hour time range
      • /gpsdata/device-last-location
      • /gpsdata/latest
      • /gpsdata/latest/4cj
      • /gpsdata/latest/5ta
      • /bulk-gpsdata
    • Maintenance
      • /maintenance/history
      • /maintenance/indicators
      • /maintenance/settings/indicators
      • /maintenance/settings/measurements
    • Reports
      • /reports/temperature-sensors
      • /reports/{report-key}
    • Geofence
      • Get all fences
      • Get fence detail
      • Retrieve geofence alerts
    • Others
      • /jobs
  • API Guides
    • Retrieve All Devices from an Enterprise
  1. Account & User & Device

/devices/driver-overview

POST
/devices/driver-overview
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

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Header Params
token
string 
required
Access token which was generated earlier
Body Params application/json
acctId
string 
required
Account ID
driverId
string 
required
Driver’s user ID
Example
{
    "acctId": "string",
    "driverId": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/devices/driver-overview' \
--header 'token;' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
    "acctId": "string",
    "driverId": "string"
}'

Responses

🟢200成功
application/json
200 response
Body
array of:
breakRequired
integer 
optional
Break Needed in Minute
status
integer 
optional
User current status-> 1: Off Duty, 2: Sleeper, 3: Driving, 4: On Duty (Not Driving)
shiftLimit
string 
optional
Minute, – Shift Hour Left
vehicle
string 
optional
If vahicle is unassigned to any driver - N/A , if driver type is main driver then -(Main) +LicenseId of driver otherwise (Co)+LicenseId of driver
violation
array [object {7}] 
optional
id
integer 
optional
ID of HOS_VIOLATION_RECORD table
userId
string 
optional
User Id
type
integer 
optional
1:Rule A, 2:Rule B, 3:Rule C, 4:Rule D
shortDate
integer 
optional
Date with format of yyyyMMdd. (ex) '20150909'
startTime
integer 
optional
Violation start time. Unit is minute
endTime
integer 
optional
Violation end time. Unit is minute
flag
integer 
optional
0:original triggered; 1: Auto generate
driverId
string 
optional
Driver Id
driverPhone
string 
optional
Driver’s phone number
cycleLimit
integer 
optional
Minute, Cycle Hour Left
violationNum
integer 
optional
Violation count. Number of violations
shortDate
integer 
optional
Date with format of yyyyMMdd. (ex) “20150909”.
driverName
string 
optional
Driver Name
driverEmail
string 
optional
Driver Email ID
drivingLimit
integer 
optional
Minute, Driving Hour Left
Example
[
    {
        "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
Previous
/devices/unlock
Next
/devices/engine-hours
Built with