registry_status_event

To register a unit status, use the unit/registry_status_event command.

Copied!
svc=unit/registry_status_event&params={
  "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.

Copied!
{ }	

Otherwise, the response contains an error code.

Error codes

Parameter Description
4 The user ID is invalid or the user has signed out.
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).

If you find a mistake in the text, please select it and press Ctrl+Enter.