Skip to content

Get case task#

Get Task of a case.

Query#

GET /api/case/task/{id}

with:

  • id: id of the task.

Response#

Status codes#

  • 200: if query is run successfully
  • 401: Authentication error
  • 404: The Task is not found

ResponseBody Example#

  {
    "id": "~4264",
    "_id": "~4264",
    "createdBy": "[email protected]",
    "createdAt": 1630684502715,
    "_type": "case_task",
    "title": "Malware analysis",
    "group": "identification",
    "description": "Analysis of the file to identify the malware",
    "owner": "[email protected]",
    "status": "InProgress",
    "flag": false,
    "startDate": 1630683608000,
    "endDate": 1630684608000,
    "order": 3,
    "dueDate": 1630694608000
  }
{
  "type": "AuthenticationError",
  "message": "Authentication failure"
}
{
  "type": "AuthenticationError",
  "message": "Task not found"
}

Last update: November 16, 2021 19:54:34