This REST request adds
a
comment to a task instance. Attachments can be included.
The underlying built-in service is
pub.task.taskclient:addTaskAttachment.
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.
|
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. If
user
is not specified, the user ID associated with the WmTaskClient package is used.
For information about configuring this user ID, see
IBM webMethods Task Engine User’s Guide.
|
|
Output Parameters
commentID
|
String
The unique identifier that the
Task Engine assigns to the newly added comment.
|
|