This API will return the device’s current odometer. It requires the Account ID and Device IDs as input parameters.
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Body Params application/json
{
"acctId": "string",
"devIds": "string"
}
Request Code Samples
curl --location --request POST '/devices/odometer' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"acctId": "string",
"devIds": "string"
}'
Responses
{
"devices": [
{
"devId": "string",
"unit": "string",
"totalOdometer": "string"
}
]
}
Modified at 2025-02-28 08:12:14