This API will return the device’s current Fuel Level. It requires the Account ID and Device IDs as an input parameter.
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/fuel-level' \
--header 'token;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"acctId": "string",
"devIds": "string"
}'
Responses
{
"devices": [
{
"devId": "string",
"fuelLevel": 0,
"fuelLevel2": 0
}
]
}
Modified at 2025-02-28 08:12:14