Task Engine 10.11 | Task Engine Webhelp | webMethods Task Engine API and Service Reference | Using the Task Engine RESTful Web Services in Integration Server | GET Task Comments
GET Task Comments
This REST request returns either a specific comment or all the comments in a task instance, including associated attachments. The underlying built-in service is pub.task.taskclient:getTaskComments.
To return a specific comment, the HTTP request is formed as follows:
GET /rest/pub/opentask/taskID/comments/commentID
To return all comments, the HTTP request is formed as follows:
GET /rest/pub/opentask/taskID/comments
Input Parameters
String The unique identifier that the Task Engine assigns to the task instance.
String Optional. The unique identifier of the comment to be returned.
Boolean Optional. Specifies whether or not to include Base64 encoded data in the attachments. Set to:
*true to include Base64 data.
*false to omit Base64 data (default).
Output Parameters
TaskComment[] An array of TaskComment objects that represent the comments retrieved from the task instance. See pub.task:TaskComment for more information about the structure of this object.