Create Task
DescriptionThis API enables user to create task.
Request
URLURL
Request Body
{
"action": "ACKNOWLEDGE",
"notification_ids": [
"id1",
"id2"
],
"status": "IN_PROGRESS",
"type": "NOTIFICATION"
}
The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.
List of notification ids on which the action is performed.
The current status of task.
Possible values are: IN_PROGRESS , COMPLETED , FAILED
Which type of task user wants to create.
Possible values are: NOTIFICATION , REMEDIATION
dag id, specific to REMEDIATION tasks.
The details of performing action.
This field contains the details specific to the Task type (NOTIFICATION/REMEDIATION)
Authentication
Response
Response BodyResponse Body
201 Created
Unique id of newly created resource.
Response Headers
stringProvide information about the location of a newly created resource.
Errors
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