get_drive_rank_settings
To obtain eco driving settings, use the unit/get_drive_rank_settings command.
svc=unit/get_drive_rank_settings¶ms={"itemId":<long>}
Parameters
The request must contain the itemId parameter, which specified 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.
In case the request fails, the response contains error code 7, indicating that the user doesn’t have the required access right to the unit (ADF_ACL_ITEM_VIEW_PROPERTIES).