Task Engine 10.11 | Task Engine Webhelp | webMethods Task Engine API and Service Reference | Using the Task Engine RESTful Web Services in Integration Server | POST Task Attachment
 
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 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 webMethods Task Engine User’s Guide.
Output Parameters
None.