Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje09 NOV 20212021 Wintercreated
Agnieszka11 NOV 20212021 WinterrLANG



As of Version

product version 2021 Autumn | component version 

Request MethodPOST
Response FormatJSON
Description


Excerpt

Creates a comment with the message specified in the plain text request body for the task specified by taskId. It will be included in the process instance's history.


Meaning of HTTP status codes:

HTTP Status CodeDescription
201The request was successful and the comment is returned.
400The request body is missing.
403Forbidden.
404The requested task was not found.
409Conflict.
415Unsupported Media media Type.
500Internal Server Errorserver error.


Request HeaderContent-Type: text/plain
Request Example

https://<host>/bpm-engine/api/tasks/00000000-0000-0000-0000-000000000123

Code Block
languagetext
Test comment number 2.


Response Example


Code Block
languageyml
{
  "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"
}


...