Bulk update of Tasks status
PATCH {{url}}/{{tenantName}}/{{instanceName}}/tasks
Example overview
Update tasks status for list of tasks (only one task in example). Method returns a list of updated tasks.
HTTP Request
Method: PATCH
Endpoint: {url}/{tenantName}/{instanceName}/tasks
in our example it would be: https://api.live.welkincloud.io/gh/sb-demo/tasks/28b38060-db66-4183-bcaa-34751308573a
Parameters
Name | Located in | Description | Required | Type |
---|---|---|---|---|
tenantName | path | Name of tenant | Yes | string |
instanceName | path | Name of instance | Yes | string |
taskIds | body | Task identifiers | Yes | [UUID ] |
status | body | task status | Yes | TODO , IN_PROGRESS , COMPLETED , CANCELED |
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Body
{"taskIds"=>["7c76e271-380d-40fe-ace3-51ea99450131", "4b3eda80-3091-4f5b-b204-dabc30e53690", "88a3a21f-0084-40a0-8db1-6e2e27f6f3e9"], "status"=>"IN_PROGRESS"}