DownloadDocument
Google Docs: Download a document in a specific format.
Input
| Name | Type | Description |
| ID | String |
The ID of the document to be downloaded. This value is returned from the Docs table or the UploadDocuments stored procedure. Providing this instead of 'Name' saves on traffic to the Google server. |
| Name | String |
The name of the document. Required if 'ID' is not specified. |
| Type | String |
The type of the downloaded file. Values include: CSV, DOC, HTML, ODS, ODT, PDF, PPT, RTF, PNG, SWF, TSV, TXT, XLS, ZIP. Defaults to PDF. The default value is PDF. |
| LocalFile | String |
The path where the downloaded file will be stored. |
| Sheet | String |
The # of the sheet to be downloaded. This is required when exporting a spreadsheet in either 'CSV' or 'TSV' format. This is a 0-based index. The default value is 0. |
Output
| Name | Type | Description |
| Format | String | The format of the downloaded file. |
| LocalFile | String | The path where the downloaded file is stored. |
| Size | String | The size of the downloaded document. |
| Success | String | Indication that the operation was successfully completed. |