PUT Task Attachment

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

The HTTP request is formed as follows:

PUT /rest/pub/opentask/taskID/attachments/attachmentID[?attachment=value]      [&encoding=value][&user=value]

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.
attachmentID String The unique identifier of the attachment to be updated.
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.