JSON Object Example
{
    "Timeout": 0,
    "Server": "cnn.com",
    "Port": 80,
    "DNSResolveMode": "External DNS Server",
    "DNSserverIP": "207.250.235.69",
    "CustomDNSHosts": null,
    "Device_Id": 272476,
    "Id": 491360,
    "Task_Type_Id": 9,
    "Name": "cnn.com"
}

 

 Fields Description

Field Type Required/Optional Description
Server

string

required

Destination server IP address or URL.

Example:
"Server""127.0.0.1"
Port

int32

required

The port number of the service.
Device_Id

int32

required

READ ONLY Field. Unique device ID.

Example:
"Site_Id": 8550
DNSResolveMode string optional POSSIBLE VALUES:

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

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

DNSserverIP string optional Field for a custom DNS server IP address.

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

Id

int32

required

*Only for edit operations

READ ONLY Field. Unique task id.

Example:
"Id": 17715
Task_Type_Id

int32

required

Type of the task field.

Example:
"Task_Type_Id": 9
Name

string

optional

Task name.

Example:
"Task_Name""Telnet"
Timeout

int32

optional

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

Example:
"Timeout": 0