Complete Tasks
post
/process/api/v1/tasks/complete
Complete tasks.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Match All
Show Source
-
object
schema
Request for completing the task
-
-
object
properties
Nested Schema : schema
Type:
object
Request for completing the task
Show Source
-
comment: string
comment
-
isWithdrawChild: boolean
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: string
Outcome
Nested Schema : properties
Type:
Show Source
object
-
isWithdrawChild: boolean
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: array
taskIds
Examples
Back to Top
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Nested Schema : BulkCompleteResponseItem
Type:
Show Source
object
-
errorMessage: string
-
status: string
Allowed Values:
[ "Success", "Failed" ]
-
taskId: string
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