update_units

To add units to a retranslator or remove them from it, use the retranslator/update_units command.

Copied!
svc=retranslator/update_units&params={"itemId":<long>,
                      "units":[{"a":<text>,
                        "i":<long>,
                        "st":<uint>}, ...],
                      "callMode":<text>
}

Set callMode to add and include a description for each object in the units array.

Parameters

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

Name Description
itemId* Retranslator ID.
units* Array of units IDs for retransmission.
i* Unit ID.
a* Hardware unique ID.
st Time when the retransmission stops.
The parameter is optional.
callMode Mode: add or remove.
The parameter is optional.

Response

Copied!
{
    "rtru":[
        {
            "i":<long>,   /* Unit ID. */
            "a":<text>,   /* Hardware unique ID. */
            "st":<uint>   /* Time when retransmission stopped. */
        }
    ]
}

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 Failed to parse the input text or no current retranslator units.
6 Failed to generate the response.

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