v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Subtasks

Complete Subtask

Use this API to resolve an existing subtask, marking it as Complete.

put/api/datasubject/v2/subtasks/{subtaskID}/complete

Path parameters

subtaskIDstring uuid required

Sub-Task UUID

Request body

commentstring required

Comment for the subtask completion. Longer comments may impact system performance.

markAsCompleteboolean

Whether to mark the subtask as complete

resolutionIdstring uuid

Resolution ID for the subtask

Example request

{
  "comment": "Task completed successfully",
  "markAsComplete": true,
  "resolutionId": "e2d0f59e-3df0-4b1f-965d-d57547ed44ad",
  "attachments": [
    {
      "fileName": "sample.txt",
      "fileId": "3b47744c-eebf-44bb-bf4c-680966a448dc",
      "statusId": 10,
      "resourcePath": "/storage/attachments/sample.txt"
    }
  ]
}

Response

OK