DownloadIndividualFileAttachment
Download a file attachment of a specific instance of a resource.
Input
Name | Type | Required | Accepts Output Streams | Description |
ObjectName | String | True | False | Object name for which you have to upload the file attachment.
The allowed values are incidents, answers, answerVersions, contacts, opportunities, organizations, tasks. |
ObjectId | Long | True | False | Id of object instance. |
AttachmentId | Long | True | False | Id of the attachment. |
DownloadLocation | String | True | False | Download location. For example: C:\Report.csv |
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 DownloadTo is not provided. |
Result Set Columns
Name | Type | Description |
Status | String | Execution status of the stored procedure |
FileData | String | The FileData output |