Complete Tasks

post

/process/api/v1/tasks/complete

Complete tasks

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Match All
Show Source
Nested Schema : schema
Type: object
Request for completing the task
Show Source
  • comment
  • Default Value: true
    Applicable only for the parent adhoc task. The default value is true. When set to true, automatically withdraws all its incomplete child tasks. Set it to false if the incomplete child tasks should not be withdrawn automatically.
  • Outcome
Nested Schema : properties
Type: object
Show Source
  • Default Value: true
    This is applicable only for Parent Adhoc Task. Default is true, which will automatically withdraw all its non completed child tasks. Set this to false, if the non completed child tasks should not be withdrawn automatically.
  • taskIds
Nested Schema : taskIds
Type: array
Show Source
Examples

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : BulkCompleteResponse
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : BulkCompleteResponseItem
Type: object
Show Source

400 Response

Bad request - invalid input

401 Response

Unauthorized

429 Response

Too many requests

500 Response

Internal server error

503 Response

Too many exceptions or too slow requests
Back to Top