DownloadFile
Downloads a document file from SugarCRM.
Input
Name | Type | Accepts Output Streams | Description |
ResourceId | String | False | The ID of the resource containing the file. |
Module | String | False | The name of the Module containing the resource. I.e. Documents.
デフォルト値はDocumentsです。 |
Field | String | False | The field inside the specified module containing the resource. I.e. filename.
デフォルト値はfilenameです。 |
OutputFolder | String | False | The folder to download the file to. |
FileStream | String | True | An instance of an output stream where file data is written to. Only used if OutputFolder is not set. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure ecxecution status. |
FileName | String | The name of the file that was downloaded if included in the response. |
FileData | String | File data that will be outputted encoded in Base64 if the OutputFolder and FileStream inputs are not set. |