update_video_status

Can only be used in Wialon Hosting.

To enable or disable video billing for a unit, use the unit/update_video_status method. This method requires dealer rights.

Copied!
svc=unit/update_video_status&params={
    "units": [<long>, ...],   
    "status": <int>           
}

Parameters

The request must contain the following parameters:

Parameter Description
units Array of unit IDs.
status Pass 0 to disable video billing or pass 1 to enable it.

Example

Below is an example of the unit/update_video_settings request.

Copied!
svc=unit/update_video_status&params={
  "units": [5523461, 1548776],
  "status": 1
}

Response

If the request is completed successfully, the response contains unit IDs with response codes (code 0 means that the changes were applied). Example:

Copied!
[
    {result:{5523461:{code:0}}},
    {result:{1548776:{code:0}}}
]  

Otherwise, error code 4 is returned, indicating that the input parameters are invalid.

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

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

Download PDF file
Download Word document

See also