update_driver_units
The update_driver_units function is used to update the list of units selected for the automatic assignment of drivers.
svc=resource/update_driver_units¶ms={"itemId":<long>,
"units":[<long>]}
Parameters
| Name | Description |
|---|---|
| itemId | Resource ID. |
| units | The array of unit IDs. |
Returned result
{
"drvrun":[<long>] /* array of units for automatic assignment */
}
Possible error codes:
| Code | Description |
|---|---|
| 7 | Failed to fetch the resource with the desired ACL (ADF_ACL_AVL_RES_EDIT_DRIVERS). |
| 6 | Undefined error. |
| 4 | Wrong input parameters. |