Table of Contents

Create Command Template

The request is intended to create command template.

Request Example

&svc=add_template_cmd&params={
    "id_unit": integer,
    "name_cmd": string,
    "text_cmd": string,
    "type_cmd": string
}

Parameters

Parameter Description
id_unit Unique Unit ID
name_cmd Command Name
text_cmd Command Text
type_cmd Command Type

Additional Information

Types of command: tcp, gsm.

Server Response

Result:
{
    "template_cmd_id": "84251" // ID of the created command template.
}