To create UserView based task, see API: Create UserView Task.
Request URL
Task can be created using 2 methods:
PUT | https://api.dotcom-monitor.com/config_api_v1/tasks |
POST | https://api.dotcom-monitor.com/config_api_v1/tasks?verb=PUT |
Header Parameters
Content-Type: application/json
Required Body Parameters
Each Task type contains individual set of fields and values. You can find a detailed description of JSON objects and fields for a specific task type in the related sections:
To find a list of possible values for Task_Type_Id, see Potential Values for Task Type ID.
Generally, the following common fields are required in the request body:
Field |
Type |
Required/Optional |
Description | |
Device_Id |
int32 |
required |
The unique device id.
|
|
Task_Type_Id |
int32 |
required |
Type of the task. Please check Potential Values for Task_Type_Id.
|
|
Name |
string |
optional |
Task description. It is recommended to specify a unique description for the task.
Example:
|
Success Response
Field |
Type |
Description |
Result |
int32 |
The unique id for the task. |