To start/stop a retranslator or start/stop a history retranlation, use the command retranslator/update_operating:
svc=retranslator/update_operating¶ms={"itemId":<long>, "operate":<bool>, "stopTime":<uint>, "timeFrom":<uint>, "timeTo":<uint>, "callMode":<text>}
Name | Description |
---|---|
itemId | retranslator ID |
operate | true - start, false - stop |
stopTime | time, when retranslation will be stopped (optional parameter) |
timeFrom | interval beginning of history retranslation, UNIX - time (only for history) |
timeTo | interval end of history retranslation, UNIX - time (only for history) |
callMode | switch - start/stop retranslator, history - start/stop history retranslation |
{ "rtro":<int> /* 0 - stopped, 1 - started */ "rtrst":<uint> /* time, when retranslation will be stopped */ }