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 | Description |
| SheetId | String | True | The unique identifier of the sheet containing the file attachment. |
| AttachmentId | String | True | The unique identifier of the file attachment. |
| Name | String | True | The name of the attachment in the new version. |
| FilePath | String | False | The path of the file to upload as the new attachment version. |
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. |