get_unit_drivers
The get_unit_drivers function is used to receive the list of the drivers assigned to a unit.
svc=resource/get_unit_drivers¶ms={"unitId":<long>}
Parameters
Name | Description |
---|---|
unitId | Unit ID. |
Returned result
{
"<text>":[ /* resource ID */
{
"id":"<text>", /* driver ID */
"nm":"<text>", /* driver name */
"ph":"<text>" /* driver phone number */
}, ...
], ...
}
Possible error codes:
Code | Description |
---|---|
7 | Failed to fetch the unit with the desired ACL (ADF_ACL_ITEM_VIEW). |
6 | Undefined error. |
4 | Wrong input parameters. |