FleetUp API Docs
  1. Reports
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
      • /users
      • /drivers/list
      • /devices
      • /devices/status
      • /devices/unlock
      • /devices/driver-overview
      • /devices/engine-hours
      • /devices/fuel-level
      • /devices/odometer
      • /devices/latest-ecu-data
      • /devices/{device-id}
      • /devices/{device-type}
      • /devices/{device-type}/details
      • /devices/{device-type}/history
    • 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
        GET
      • /reports/{report-key}
        GET
    • Geofence
      • Get all fences
      • Get fence detail
      • Retrieve geofence alerts
    • Others
      • /jobs
  • API Guides
    • Retrieve All Devices from an Enterprise
  1. Reports

/reports/{report-key}

GET
/reports/{report-key}
This API is to generate report data as JSON format. Note: please enable follow-redirects option when sending request.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params
report-key
string 
required
Which report data do you want to get?
Query Params
date
string 
required
Which day’s report data do you need? Format: yyyyMMdd. Example: 20240403 means April 3th, 2024
Header Params
token
string 
required

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 GET '/reports/?date' \
--header 'token;' \
--header 'x-api-key;'

Responses

🟢200成功
application/json
Success response, the response body structure is not fixed and it depends on the path parameter report-key.
Body
object {0}
Example
{}
🟠400请求有误
Modified at 2025-02-28 08:12:14
Previous
/reports/temperature-sensors
Next
Get all fences
Built with