get_vrt_command_queue

To get virtual commands, use the unit/get_vrt_command_queue request.

Copied!
svc=unit/get_vrt_command_queue&params={"itemId": <long>}

Parameters

The request must contain the itemId parameter, specifying the unit ID.

Example

Copied!
svc=unit/get_vrt_command_queue&params={"itemId": 132343}

Response

If the request is completed successfully, the response contains virtual commands.

Copied!
[{"cmd_alias":"","cmd_hex":"4040FF001167165F9E0040313233343A7265626F6F74BE0C","cmd_name":"custom_msg","cmd_param":"@1234:reboot","cmd_tm_add":"1729519518","l_add_params":[{"pname":"cmd_seq_n","ptype":"int","pval":"0"}]},{"cmd_alias":"","cmd_hex":"4040FF0011671678A70040313233343A7265626F6F749D52","cmd_name":"custom_msg","cmd_param":"@1234:reboot","cmd_tm_add":"1729525927","l_add_params":[{"pname":"cmd_seq_n","ptype":"int","pval":"0"}]}]

Otherwise, an error code is returned.

Error codes

Error codeDescription
4Invalid input parameters.
7The user doesn't have the required access right to the unit (ADF_ACL_ITEM_EDIT_PROPERTIES).
Download PDF file
Download Word document

See also