JSON Object Example
{
    "Timeout": 120000,
    "RequestType": "GET",
    "Url": "http://example.com/",
    "Keyword1": "",
    "Keyword2": "",
    "Keyword3": "",
    "UserName": "login",
    "UserPass": "password",
    "CheckCertificateAuthority": true,
    "CheckCertificateCN": true,
    "CheckCertificateDate": true,
    "CheckCertificateRevocation": true,
    "CheckCertificateUsage": true,
    "FullPageDownload": false,
    "Download_Html": false,
    "Download_Frames": false,
    "Download_StyleSheets": false,
    "Download_Scripts": false,
    "Download_Images": false,
    "Download_Objects": false,
    "Download_Applets": false,
    "Download_Additional": false,
    "ClientCertificate": "",
    "ExpirationReminderInDays": "",
    "GetParams": [],
    "PostParams": [],
    "HeaderParams": [],
    "RawPostData": "",
    "PrepareScript": null,
    "PostScript": null,
    "DNSResolveMode": "TTL Cached",
    "DNSserverIP": "",
    "CustomDNSHosts": null,
    "FollowRedirects": true,
    "Device_Id": 272470,
    "Id": 4910052,
    "Task_Type_Id": 2,
    "Name": "http://example.com/"
}

Fields Description

Field Type Required/Optional Description

RequestType

string

required

This field defines TYPE of the request.

POSSIBLE VALUES:

  • GET
  • POST
  • HEAD
  • PUT
  • DELETE
  • OPTIONS
  • TRACE
  • PATCH

Url

string

required

Field for a monitoring address.

Keyword1

string

optional

First Keyword search field. See how to create keywords here.

Keyword2

string

optional

Second Keyword search field.

Keyword3

string

optional

Third Keyword search field.

UserName

string

optional

This field contains a username for HTTP basic access authentication

UserPass

string

optional

This field contains a password for HTTP basic access authentication

CheckCertificateAuthority

boolean

optional

When enabled – verifies if the certificate chain doesn’t contain untrusted root cert.

CheckCertificateCN

boolean

optional

When enabled – validates that address you navigate matches with address certificate was signed to.

CheckCertificateDate

boolean

optional

When enabled – verifies certificate expiration date.

CheckCertificateRevocation

boolean

optional

When enabled – validates that the certificates chain doesn’t contain one which was revoked.

CheckCertificateUsage

boolean

optional

When enabled – verifies cert. chain for the wrong usage of any intermediate cert.

ClientCertificate

string

optional

 If you require client certificates to access your site, create a ticket to upload your SSL certificate so we can install them on the monitoring agents.  After the certificate has been installed you can specify the certificate name here.
ExpirationReminderInDays int32 optional A reminder that notifies (as an error) about certificate expiration.

FullPageDownload

boolean

optional

When the Full-page Download tool is enabled the returned HTML is parsed. Then the parsed elements within the HTML, such as images, style sheets, applets, etc., are downloaded.

Download_Html

boolean

optional

Switch  enabling or disabling HTML elements download.

Download_Frames

boolean

optional

Switch  enabling or disabling Frames download.

Download_StyleSheets

boolean

optional

Switch  enabling or disabling Stylesheets download.

Download_Scripts

boolean

optional

Switch  enabling or disabling scripts download.

Download_Images

boolean

optional

Switch  enabling or disabling images download.

Download_Objects

boolean

optional

Switch  enabling or disabling Objects download.

Download_Applets

boolean

optional

Switch  enabling or disabling applets download.

Download_Additional

boolean

optional

Switch  enabling or disabling download of additional content.

GetParams

array of strings

optional

You can specify GET parameters as key and its value.

PostParams

array containing strings

optional

You can specify POST parameters as a key and its value or a JSON object.

HeaderParams

array containing strings

optional

You can specify header parameters as key and its value. If the Content-Type header is not specified for the request, the request will be sent with the default content type application/x-www-form-urlencoded.

PrepareScript

string

optional

This field can contain C# code, which can be used for specific POST, GET and URL data, for example, random-number generator or some atypical parameters pulling can be created using it. For example, this can be used to generate dynamic URL depending on previous requests (if it gave less than 1000 links – open one URL, else – another.) Please contact technical support for more details on usage.
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.

Id

int32

required

*Only for edit operations

READ ONLY Field. Unique task ID.

Task_Type_Id

int32

required

Type of the task field.

Name

string

optional

Task name.

Timeout

int32

optional

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