JSON Object Example
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
{
"Server": "127.0.0.1",
"Device_Id": 8550,
"DNSResolveMode": "Device Cached",
"DNSserverIP": null,
"Id": 17715,
"Task_Type_Id": 7,
"Name": "Ping task",
"Timeout": 0
}
{ "Server": "127.0.0.1", "Device_Id": 8550, "DNSResolveMode": "Device Cached", "DNSserverIP": null, "Id": 17715, "Task_Type_Id": 7, "Name": "Ping task", "Timeout": 0 }
{
    "Server": "127.0.0.1",
    "Device_Id": 8550,
    "DNSResolveMode": "Device Cached",
    "DNSserverIP": null,
    "Id": 17715,
    "Task_Type_Id": 7,
    "Name": "Ping task",
    "Timeout": 0
}

 Fields Description

Field Type Required/Optional Description
Server

string

required

Destination server address.

Example:
"Server""127.0.0.1"
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": 7
Name

string

optional

Task name.

Example:
"Task_Name""Ping task"
Timeout

int32

optional

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

Example:
"Timeout": 0