To register unit status, use the command unit/register_status_event:
svc=unit/register_status_event¶ms={"date":<uint>, "description":<text>, "itemId":<long>}
Name | Description |
---|---|
date | date |
description | description |
itemId | unit ID |
{} /* empty object if execution successful, if not - error code */
|