Logo
OpenText Developer Cloud public resources API Documentation

Get an attachment on a task

GET {{baseUrl}}/tasks/:taskId/attachments/:attachmentId?includeUserIds=false

Get an attachment on a task.

 

Body PARAM

Key Datatype Required Description 
includeUserIds
boolean Indication to include OTDS Id instead of email for users in the response.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "description": "SampleDescription", "externalUrl": "https://..", "id": "96a380a8-9b2e-11ea-b2b1-50e08558ee22", "links": { "empty": true }, "name": "SampleAttachment", "time": "1960-05-26T22:29:13.396Z", "type": "SampleType", "userId": "SampleUser" }



Curl
curl -X GET 'baseUrl/tasks/:taskId/attachments/:attachmentId?includeUserIds=false?includeUserIds=false'

ENDPOINTS