Skip to content

Run responder#

Run a responder on a Case (requires manageAction permission).

Query#

POST /api/connector/cortex/action

Request Body Example#

{
  "responderId": "25dcbbb69d50dd5a5ae4bd55f4ca5903",
  "cortexId": "local-cortex",
  "objectType": "case",
  "objectId": "{id}"
}

With:

  • id: Case identifier

The required fields are responderId, objectType and objectId.

Response#

Status codes#

  • 201: if responder is started successfully
  • 401: Authentication error
  • 403: Authorization error
  • 404: Case is not found

Response Body Example#

  {
    "responderId": "25dcbbb69d50dd5a5ae4bd55f4ca5903",
    "responderName": "reponderName_1_0",
    "responderDefinition": "reponderName_1_0",
    "cortexId": "local-cortex",
    "cortexJobId": "408-unsB3SwW9-eEPXXW",
    "objectType": "Case",
    "objectId": "~25313328",
    "status": "Waiting",
    "startDate": 1630917246993,
    "operations": "[]",
    "report": "{}"
  }
{
  "type": "AuthenticationError",
  "message": "Authentication failure"
}
{
  "type": "AuthenticationError",
  "message": "Task not found"
}

Last update: September 21, 2021 07:46:32