JSON Object Example
{
    "Timeout": 0,
    "Server": "123",
    "Port": 123,
    "DNSResolveMode": "Device Cached",
    "DNSserverIP": "",
    "Device_Id": 87303,
    "Id": 211738,
    "Task_Type_Id": 12,
    "Name": "123"
}

Fields description 

Field Type Required/Optional Description

Server

string

required

This field specifies destination address.

Example:
"Server""dotcom-monitor.com"

Port

int32

required

This field specifies destination port.

Example:
"Port": 40
DNSResolveMode string optional POSSIBLE VALUES:

  • Device Cached
  • Non Cached
  • TTL Cached
  • External DNS Server

For detailed explanation please see the “DNS Mode Option” article.

Example:
"DNSResolveMode""External DNS Server"
DNSserverIP string optional Field for a custom DNS server IP address. For detailed explanation please see the “DNS Mode Option” article.

Example:
"DNSserverIP""8.8.8.8"
 Device_Id

int32

required

READ ONLY Field. The unique device id.

Example:
"Device_Id": 8550

Id

int32

required

*Only for edit operations

READ ONLY Field. The unique task id. Do not use for create operations.

Example:
"Id": 17719

Task_Type_Id

int32

required

The type id of the task.

Example:
"Task_Type_Id": 12

Name

string

optional

The task name.

Example:
"Name":"UPD task"

Timeout

int32

optional

This field defines maximum time value (in milliseconds) for task execution.

Example:
"Timeout": 0