This API will give engine hours of given devices.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Access token which was generated earlier
Body Params application/json
Device id list, Comma separated String
{
"acctId": "string",
"devIds": "string"
}
Request samples
curl --location --request POST '/devices/engine-hours' \
--header 'token;' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"acctId": "string",
"devIds": "string"
}'
Responses
engineHourData
array [object {4}]
optionalEngine hours calculated through trip data in seconds
Engine hours obtained from ECU data rounded off in hours
Engine Hour Preference: 0:ECU, 1:System, 2:User, etc; For ELD(TYPE:1), 0=diable, 1=enable.
{
"engineHourData": [
{
"devId": "string",
"systemEngineHour": 0,
"ecuengineHour": 0,
"preference": 0
}
]
}
Modified at 2025-02-28 08:12:14