Logo
OpenText Developer Cloud public resources API Documentation

Get an assignments for a task

GET {{baseUrl}}/tasks/:taskId/assignments?includeUserIds=false&includeGroupIds=false

Get an assignments for a task.

 

Body PARAM

Key Datatype Required Description 
includeUserIds
boolean Indication to include OTDS Id instead of email for users in the response.
includeGroupIds
boolean Indication to include id instead of name for groups and roles in response.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

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



Curl
curl -X GET 'baseUrl/tasks/:taskId/assignments?includeUserIds=false&includeGroupIds=false?includeUserIds=false&includeGroupIds=false'

ENDPOINTS