get_drive_rank_settings
To obtain eco driving settings, use the unit/get_drive_rank_settings method.
svc=unit/get_drive_rank_settings¶ms={"itemId":<long>}
Parameters
The request must contain the itemId parameter, which specifies the unit ID.
Response
If the request is completed successfully, the response contains the list of eco driving criteria and their parameters.
{
"acceleration":[...],
"brake":[...],
"global":{...},
"turn":[...],
"sensor":[...],
"speeding":[...],
"harsh":[...]
}
For all eco driving criteria and parameters, see update_drive_rank_settings.
If no criteria are configured, an empty object is returned.
Otherwise, an error code is returned.
Error codes
| Error code | Description |
|---|---|
| 7 | The user doesn’t have the required access right to the unit (ADF_ACL_ITEM_VIEW_PROPERTIES). |