Complete task simple (no file)

Cortex XSOAR 6 API

post /inv-playbook/task/complete/simple

Complete a task without a file attachment

CURL
curl -X POST \ -H "Authorization: [[apiKey]]" \ -H "Accept: application/json" \ -H "Content-Type: application/json,application/xml" \ "https://hostname:443/inv-playbook/task/complete/simple" \ -d '{ "args" : { "key" : { "keyValue" : [ { "key" : "key" }, { "key" : "key" } ], "complex" : { "transformers" : [ { "args" : { "key" : { "isContext" : true } }, "operator" : "operator" }, { "args" : { "key" : { "isContext" : true } }, "operator" : "operator" } ], "root" : "root", "accessor" : "accessor", "filters" : [ null, null ] }, "simple" : "simple" } }, "input" : "input", "loopCondition" : [ null, null ], "invId" : "invId", "loopArgs" : { "key" : { "keyValue" : [ { "key" : "key" }, { "key" : "key" } ], "complex" : { "transformers" : [ { "args" : { "key" : { "isContext" : true } }, "operator" : "operator" }, { "args" : { "key" : { "isContext" : true } }, "operator" : "operator" } ], "root" : "root", "accessor" : "accessor", "filters" : [ null, null ] }, "simple" : "simple" } }, "inTaskID" : "inTaskID", "comment" : "comment", "conditions" : [ { "condition" : [ null, null ], "label" : "label" }, { "condition" : [ null, null ], "label" : "label" } ], "version" : 0 }' \ -d ' UNDEFINED_EXAMPLE_VALUE aeiou aeiou aeiou aeiou UNDEFINED_EXAMPLE_VALUE 123456789 '
Authentication: api_key Api Key "Authorization"
Request
Body
optional
args
optional
Map
comment
optional
String
conditions
optional
Array
TaskCondition - contains a condition and a corresponding label if the condition satisfied - its label is taken as the next task(s) input (e.i. the label on the edge)
condition
optional
Array
label
optional
String
inTaskID
optional
String
input
optional
String
invId
optional
String
loopArgs
optional
Map
loopCondition
optional
Array
version
optional
Number (Long)
format: int64
Responses

InvestigationPlaybook

Body
InvestigationPlaybook