Get comments on a task
GET {{baseUrl}}/tasks/:taskId/comments?includeUserIds=false
Get comments on a task.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
includeUserIds | boolean | Indication to include OTDS Id instead of email for users in the response. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"content":[[{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"1992-05-02T00:41:52.512Z"},{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"2010-06-17T23:21:47.679Z"}],[{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"1988-08-04T13:29:46.379Z"},{"author":"John","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"SampleMessage","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","taskId":"f89f1185-3391-11ea-b509-eeee0affefe7","time":"2017-07-17T22:28:08.800Z"}]],"links":{"empty":false}}