POST /bpm-engine/api/tasks/{taskId}/comment
As of Version | product version 2021 Autumn | component version | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Method | POST | ||||||||||||||||
Response Format | JSON | ||||||||||||||||
Description | Creates a comment with the message specified in the plain text request body for the task specified by Meaning of HTTP status codes:
| ||||||||||||||||
Request Header | Content-Type: text/plain | ||||||||||||||||
Request Example |
Test comment number 2. | ||||||||||||||||
Response Example | { "id": "00000001-0001-0001-0001-000000000001", "author": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", "message": "Test comment number 2.", "time": "2021-11-09T13:53:20.339Z", "processInstanceId": "00000000-0000-0000-0000-000000000000", "taskId": "00000000-0000-0000-0000-000000000123" } |