This REST request adds a
comment to a task instance. Attachments can be included.
Use this HTTP request and include optional
parameters in the request body:
POST /rest/pub/opentask/taskID/comments/
Input Parameters
attachments
|
TaskAttachment [ ] Optional. An array of
TaskAttachment objects
representing any attachments to be added to the comment being added. See
TaskAttachment
for the structure of this data.
|
html
|
Boolean Optional. Set to:
-
true if
the comment text contains HTML markup.
-
false
(default) if the comment text is to be treated as plain text.
|
taskID
|
String
The unique identifier that the
Task Engine assigns to the task instance.
|
text
|
String
Optional. The updated text for this comment.
|
user
|
String
Optional. The user ID of the
IBM My webMethods Server user on whose behalf this operation executes.
|
|
Output Parameters
commentID
|
String
The unique identifier that the
Task Engine assigns to the newly added comment.
|
|