API: UDP

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 Description

Server

String

This field specifies destination address

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

Port

Int32

This field specifies destination port

Example:
"Port": 40
DNSResolveMode String Available modes:

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

For detailed explanation please see “DNS Mode Option” article

Example:
"DNSResolveMode""External DNS Server"

 

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

Example:
"DNSserverIP""8.8.8.8"

 

 Device_id

Int32

READ ONLY Field.Unique device ID

Example:
"Device_Id": 8550

Id

Int32

READ ONLY Field.Unique task id

Example:
"Id": 17719

Task_Type_Id

Int32

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

Example:
"Task_Type_Id": 40

Name

String

Task name

Example:
"Name":"UPD task"

Timeout

Int32

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

Example:
"Timeout": 0