Subtasks

Complete Subtask

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

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

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/datasubject/v2/subtasks/{subtaskID}/complete
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: DSAR, DSAR_WRITE

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

Changes

No recorded changes to this operation across all 1 revision of this API.