Get comments on a process instance

GET {{baseUrl}}/process-instances/:processInstanceId/comments?includeUserIds=false

Get comments on a process instance.

Request Params

KeyDatatypeRequiredDescription
includeUserIdsbooleanIndication to include OTDS Id instead of email for users in the response.

RESPONSES

status: OK

{"content":[[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1961-05-27T02:22:36.018Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"2005-10-31T23:05:41.086Z"}],[{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":false},"message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1957-01-18T07:04:52.958Z"},{"author":"vamsi","id":"e710b009-3397-11ea-b509-eeee0affefe7","links":{"empty":true},"message":"OrderReceived","processInstanceId":"f8985abd-3391-11ea-b509-eeee0affefe7","time":"1980-10-04T18:31:42.667Z"}]],"links":{"empty":false}}