Logo
OpenText Developer Cloud public resources API Documentation

Update an assignment on a task

PUT {{baseUrl}}/tasks/:taskId/assignments

Update an assignment on a task.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "content": [ [ { "group": "testgroup", "type": "assignee", "user": "testCandidate@test.com" }, { "group": "testgroup", "type": "assignee", "user": "testCandidate@test.com" } ], [ { "group": "testgroup", "type": "assignee", "user": "testCandidate@test.com" }, { "group": "testgroup", "type": "assignee", "user": "testCandidate@test.com" } ] ], "links": { "empty": true } }



Curl
curl -X PUT 'baseUrl/tasks/:taskId/assignments' -H 'Content-Type: application/json' -d '{"assignments":[{"group":"testGroup","type":"candidate","user":"testCandidate@test.com"},{"group":"testGroup","type":"candidate","user":"testCandidate@test.com"}],"includeGroupIds":false,"includeUserIds":false}'

ENDPOINTS