get_drive_rank_settings

To obtain eco driving settings, use the unit/get_drive_rank_settings command.

Copied!
svc=unit/get_drive_rank_settings&params={"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.

Copied!
{
    "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).

If you find a mistake in the text, please select it and press Ctrl+Enter.

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also