ADO.NET Provider for Smartsheet

Build 25.0.9434

UploadAttachmentVersion

Upload a new attachment version to a file attachment in one of your Smartsheet sheets.

Procedure-specific Information

You can re-upload a file attachment by executing this stored procedure, and that will create a new version of the attachment. File attachments located in comment level cannot be re-uploaded.

You can query the Info_AttachmentVersions table to read data on the versions of an attachment. If the attachment is not a file attachment, only one version will be returned for that attachment.

Input

Name Type Required Accepts Input Streams Description
SheetId String True False The unique identifier of the sheet containing the file attachment.
AttachmentId String True False The unique identifier of the file attachment.
Name String True False The name of the attachment in the new version.
FilePath String False False The path of the file to upload as the new attachment version.
Content String False True An InputStream object containing the content of the new attachment version to be uploaded This can be used as an alternative to the FilePath parameter.

Result Set Columns

Name Type Description
Success Boolean Boolean value indicating whether the upload operation was successful. Returns 'true' if the new attachment version was created successfully, and 'false' otherwise.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434