registry_status_event
To register a unit status, use the unit/registry_status_event command.
svc=unit/registry_status_event¶ms={
"date":<uint>,
"description":<text>,
"itemId":<long>
}
Parameters
Parameter | Description |
---|---|
date | Date |
description | Description |
itemId | Unit ID |
Response
If the request is completed successfully, an empty response is returned.
{ }
Otherwise, the response contains an error code.
Error codes
Parameter | Description |
---|---|
4 | This user can't execute the request. |
6 | Failed to register the unit status. |
7 | The user doesn't have the required access right to the unit (ADF_ACL_AVL_UNIT_REG_EVENTS). |