JSON Object Example

{
    "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 Description
Server

String

Destination server address

Example:
"Server""127.0.0.1"
Device_Id

Int32

READ ONLY Field.Unique device ID

Example:
"Site_Id": 8550
DNSResolveMode String

Available modes:

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

For detailed explanation please see “DNS Mode Option” article

DNSserverIP String Field for a custom DNS server IP addressFor detailed explanation please see “DNS Mode Option” article
 

Int32

READ ONLY Field.Unique task id

Example:
"Id": 17715
Task_Type_Id

Int32

Type of the task field. Please check Potential values for Task_type_id in appropriate table

Example:
"Task_Type_Id": 7
Name

String

Task name

Example:
"Task_Name""Ping task"
Timeout

Int32

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

Example:
"Timeout": 0