Edit Command Template

The request is intended to edit command template.

Request Example

&svc=edit_template_cmd&params={
    "id_unit": integer,
    "cmd_id": integet,
    "type_cmd": string,
    "text_cmd": string,
    "name_cmd": string
}

Parameters

Parameter Description
id_unit Unique Unit ID
cmd_id Unique Command ID
type_cmd Command type
text_cmd Command text
name_cmd Command name

Additional Information

Command type: tcp, gsm.

Server Response

Result
{
    "result": true // The result of editing of command template (true or false)
}