DownloadFile
Adds an audio recording to the call log.
Stored Procedure Specific Information
Pipedrive allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. The required columns in DownloadFile are Id and DownloadLocation.
For example:
EXECUTE DownloadFile Id = 6 , DownloadLocation = 'D:\\test\\download.txt'
Input
Name | Type | Required | Accepts Output Streams | Description |
Id | Integer | True | False | ID of the file. |
DownloadLocation | String | False | False | Download location. For example: C:\File.mp4 |
FileStream | String | False | True | An instance of an output stream where file data is written to. Only used if DownloadLocation is not provided. |
Encoding | String | False | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
Name | Type | Description |
Status | String | Execution status of the stored procedure. |
FileData | String | If the DownloadLocation and FileStream are not provided, this contains the content of the file. |