FleetUp API Docs
  1. Maintenance
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
        POST
      • /maintenance/indicators
        POST
      • /maintenance/settings/indicators
        GET
      • /maintenance/settings/measurements
        GET
    • 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. Maintenance

/maintenance/settings/measurements

GET
/maintenance/settings/measurements
Get the details of the maintenance measurement types like ODOMETER, ENGINE_HOUR and DAYMETER. Details include units of measurement, max/min and default threasholds, value at which warning should be handled and past due

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
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 '/maintenance/settings/measurements' \
--header 'token;' \
--header 'x-api-key;'

Responses

🟢200成功
application/json
200 response
Body
status
number 
optional
response status (http status)
data
object 
optional
Additional properties
object 
optional
Example
{
    "status": 0,
    "data": {
        "property1": {
            "code": 0,
            "units": "string",
            "thresholdMin": 0,
            "thresholdMax": 0,
            "thresholdDefault": 0,
            "maintenanceMax": 0,
            "warningAt": 0,
            "pastDueAt": 0
        },
        "property2": {
            "code": 0,
            "units": "string",
            "thresholdMin": 0,
            "thresholdMax": 0,
            "thresholdDefault": 0,
            "maintenanceMax": 0,
            "warningAt": 0,
            "pastDueAt": 0
        }
    }
}
Modified at 2025-02-28 08:12:14
Previous
/maintenance/settings/indicators
Next
/reports/temperature-sensors
Built with