POST Task Attachment

This REST request adds the specified attachment to a task instance. The underlying built-in service is pub.task.taskclient:addTaskComment.

Use this HTTP request and include optional parameters in the request body:

POST /rest/pub/opentask/taskID/attachments

Input Parameters

attachment TaskAttachment The TaskAttachment object representing the new attachment to be used to update the existing attachment. See pub.task:TaskAttachment for the structure of this data.
encoding String Optional. Specify the encoding type for the file. Set to:
  • binary
  • text
taskID String The unique identifier that the Task Engine assigns to the task instance.
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

None.