The request is intended to obtain the history of sending commands.
&svc=get_cmd_history¶ms={ "id_unit": integer, "from": timestamp, "to": timestamp }
Parameter | Description |
---|---|
id_unit | Unique Unit ID |
from | Start time of command history |
to | End time of command history |
Parameter to is optional. If it is not specified server will take the current date as end time.
[ { "id": 1401034, // Record ID of sent command "id_unit": 66780, // Unique Unit ID "time_cmd": 1517071718, // Command Creation Time "time_send": null, // Command Sending Time "type_cmd": "tcp_answer", // Command Type "text_cmd": "test", // Command Text "info": null // Additional Information }, ... ]