get_activity_settings

To find out the source of driver activity, use the unit/get_activity_settings request.

Copied!
svc=unit/get_activity_settings&params={"itemId":<long>}

Parameters

The request must contain the itemId parameter, which specifies the unit ID.

Example

Below is an example of the unit/get_activity_settings request.

Copied!
svc=unit/get_activity_settings&params={"itemId": 200393}

Response

If the request is completed successfully, the response contains the selected source of driver activity.

Copied!
{
	"type": <int> /* selected source */ 
} 

Otherwise, an error code is returned.

Error codes

Error codeDescription
4Invalid input parameters.
6Error specifying the settings.
7The user doesn't have the required access right (ADF_ACL_AVL_UNIT_EDIT_REPORT_SETTINGS).
Download PDF file
Download Word document

See also