CData Python Connector for Smartsheet

Build 24.0.9060

DownloadAttachment

Download an attachment from a sheet.

Input

Name Type Required Description
SheetID String True The sheet ID you are downloading an attachment from.
AttachmentID String True Unique ID of the attachment you are downloading.
Location String False The folder path in which to save the attachment.
FileName String False A new name for the downloaded attachment. If not specified, the attachment will be saved as a file with its original name in the sheet.
Override String False Specifies whether you want to override an existing file in the Location with the same name. Setting it to false will generate a unique name of the file where the content of the attachment will be saved, if a file with the same name already exists.

The default value is true.

Result Set Columns

Name Type Description
Success String Returns True if the download succeeded.
URL String A temporary URL for downloading the file. Currently, the temporary URL is set to expire in 120000 milliseconds, or 2 minutes
Content String Base64 encoded content of the downloaded file, returned if Location and FileStream are not provided.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060