Create Task
This API enables user to create task.
Request structure for creating task.
Show optional properties
{
"type": "NOTIFICATION",
"status": "IN_PROGRESS",
"action": "ACKNOWLEDGE",
"notification_ids": [
{}
]
}
{
"type": "NOTIFICATION",
"status": "IN_PROGRESS",
"action": "ACKNOWLEDGE",
"details": "Performing ack operation",
"notification_ids": [
"id1",
"id2"
],
"dag_id": "xxxxxx",
"entities": [
{}
]
}
Which type of task user wants to create.
The current status of task.
The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.
The details of performing action.
List of notification ids on which the action is performed.
dag id, specific to REMEDIATION tasks.
This field contains the details specific to the Task type (NOTIFICATION/REMEDIATION)
Created
{
"id": "string"
}
Unique id of newly created resource.
Response Headers
Provide information about the location of a newly created resource.
Client must authenticate itself to get the requested response
The client does not have access rights to the content; that is, it is Client must authenticate itself to get the requested response
The server can not find the requested resource