JSON Object Example
{
    "AcceptAllSSLCertificates": "NO",
    "Username": "903285",
    "EmailAddress": "903285@nttdata.com",
    "Password": "Dotc@123!",
    "Timeout": 0,
    "Port": 443,
    "MSGTimeout": 0,
    "Server": "autodiscover.keane.com",
    "UseSSL": "NO",
    "UserAgent": "",
    "DeviceID": "",
    "DNSResolveMode": "Device Cached",
    "DNSserverIP": "",
    "CustomDNSHosts": null,
    "Device_Id": 272478,
    "Id": 491364,
    "Task_Type_Id": 25,
    "Name": "903285@nttdata.com"
}

Fields Description

Field Type Required/Optional Description
AcceptAllSSLCertificates

string

optional

When enabled all certificate-related errors (like Certificate Authority, Certificate Date, Certificate Common Name, etc.) are ignored.

Server

string

required

Specifies the target mail server address.

EmailAddress

string required The destination email address.

UserName

string

required

The field contains a domain (depending on a configuration of a server, a domain name may be not necessary) and username for authentication.

Password

string

required

This field contains a password for authentication.

Port

int32

required

Specifies mail server port number.
MSGTimeout

int32

required

Email Timeout in minutes. The target considered “Down” if the message is not received.

Email Timeout for ActiveSync Email can’t be less than 1 and more than 60.

UseSSL

boolean

optional

When enabled – SMTP over SSL will be requested.

UserAgent

string

optional

The user agent string to identify the Exchange device, e.g., “Apple-iPhone/xxx.xxx”.
DeviceID

string

optional

The Exchange Device ID.
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.

Device_Id

int32

required

READ ONLY Field. Unique device ID.

Example:
"Device_Id": 8550

Id

int32

required

*Only for edit operations

READ ONLY Field. Unique task id

Example:
"Id": 17711

Task_Type_Id

int32

required

The type id of the task.

Name

string

optional

Task name.

Timeout

int32

optional

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

Example:
"Timeout": 0