v1

latestOpenAPI 3.1.02026-08-043160244.3 KB
Tasks

Submit a task

Used to approve or deny a pending task.

post/task/{uid}

Path parameters

uidstring required

Task uid

Task uid

Request body

dataobject required

A JSON object containing the form data to be submitted for the task. The structure of the JSON object depends on the task type and can be found in the task properties.

Example request

{
  "data": {
    "approved": true
  }
}

Response

Status of submitted task

errorstring nullable

Error message if the task was not successfully submitted.

successboolean required

Indicates if the task was successfully submitted or not.

Example response

{
  "success": true
}