To update/delete message of tag binding, use command resource/update_tag_message:
It works only with created before bindings.
svc=resource/update_tag_message¶ms={"resourceId":<long>, "unitId":<long>, "tagId":<long>, "time":<uint>, "callMode":<text>}
Parameters
Name | Description |
---|---|
resourceId | resource ID |
unitId | unit ID to update to binding, 0 to update to unbinding |
tagId | tag ID |
time | time |
callMode | mode: update, delete |
Response
{} /* empty object if success, else - error code */