update_operating

To start or stop a retranslator or retransmission for a past period, use the command retranslator/update_operating:

Copied!
svc=retranslator/update_operating&params={"itemId":<long>,
                      "operate":<bool>,
                      "stopTime":<uint>,
                      "timeFrom":<uint>,
                      "timeTo":<uint>,
                      "callMode":<text>
                }

Parameters

The request can contain the following parameters. The required parameters are marked with an asterisk (*).

Name Description
itemId* Retranslator ID.
operate* Start or stop retransmission:
True — start, false — stop.
stopTime Time, when retransmission will be stopped. The parameter is optional.
timeFrom* Beginning of history retransmission, UNIX time (only for history).
timeTo* End of history retransmission, UNIX time (only for history).
callMode* Set callMode to Switch to start or stop the retranslator. Set callMode to History to start or stop the retransmission for a past period.

Response

If the request is completed successfully, a response of the following format is returned:

Copied!
{
    "rtro":<int>  /* 0 - stopped, 1 - started */
    "rtrst":<uint>  /* Time when the retransmission stops. */
}

Otherwise, an error code is returned.

Error codes

Error code Description
7 No ADF_ACL_AVL_RETR_EDIT_SETTINGS access right to the retranslator.
4 Wrong input parameters or failed to start/stop retranslator.

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

Your message was sent. Thank you!

Report a mistake

An error occurred while submitting the form

Download PDF file
Download Word document

See also