reset_vrt_command_queue

To reset the queue of virtual commands, use the unit/reset_vrt_command_queue method.

Endpoint

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

Parameters

The request must contain the following parameter:

Parameter Description
itemId Unit ID.

Example

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

Response

If the request is completed successfully, an empty object is returned:

Copied!
{}

If the request fails, an error code is returned.

Error codes

Error code Description
4 Invalid input parameters.
7 The unit doesn’t exist, or the user doesn’t have the View object and its basic properties access right to it.

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