DownloadAttachment
To Download an Attachment.
Input
| Name | Type | Required | Accepts Output Streams | Description |
| AttachmentId | String | False | False | Attachment Id to download. |
| TaskId | String | False | False | Task Id to download all the attachments in the Task. |
| DownloadLocation | String | False | False | Download location. This is required when TaskId is specified. |
| Encoding | String | False | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
| FileStream | String | False | True | An instance of an output stream where file data is written to. Only used if DownloadPath is not provided. |
Result Set Columns
| Name | Type | Description |
| Status | String | The status of the operation. |
| FileData | String | If the DownloadLocation and FileStream are not provided, this contains the content of the file. |