get_unit_drivers

The get_unit_drivers function is used to receive the list of the drivers assigned to a unit.

Copied!
svc=resource/get_unit_drivers&params={"unitId":<long>}

Parameters

NameDescription
unitIdUnit ID.

Returned result

Copied!
{
    "<text>":[	/* resource ID */
	{
	    "id":"<text>",	/* driver ID */
	    "nm":"<text>",	/* driver name */
	    "ph":"<text>"		/* driver phone number */
	}, ...
    ], ...
}

Possible error codes:

CodeDescription
7Failed to fetch the unit with the desired ACL (ADF_ACL_ITEM_VIEW).
6Undefined error.
4Wrong input parameters.
Download PDF file
Download Word document

See also