v1

latestOpenAPI 3.0.32026-08-061874701.5 MB
proofs

Create proof version

Creates a proof version. Proof ID must be for the original proof.

post/sheets/{sheetId}/proofs/{proofId}/versions

Headers

Content-Typestring

Required for POST and PUT requests. Defines the structure for the request body.

Request body

attachmentSubType'DOCUMENT' | 'DRAWING' | 'FOLDER' | 'PDF' | 'PRESENTATION' | 'SPREADSHEET'

Attachment sub type.

Note: "FOLDER" type is for EGNYTE values--the rest are GOOGLE_DRIVE values.

attachmentType'BOX_COM' | 'DROPBOX' | 'EGNYTE' | 'EVERNOTE' | 'FILE' | 'GOOGLE_DRIVE' | 'LINK' | 'ONEDRIVE' | 'TRELLO'

Attachment type.

Note: "DROPBOX", "EGNYTE", and "EVERNOTE" aren't supported for Smartsheet.gov accounts.

descriptionstring
namestring
urlstring

Response

SUCCESS

message'PARTIAL_SUCCESS' | 'SUCCESS'

Message that indicates the outcome of the request. (One of SUCCESS or PARTIAL_SUCCESS.)

resultCode0 | 3
  • '0' Success
  • '3' Partial Success of Bulk Operation
versionnumber nullable

New version of the sheet. Applicable only for operations which update sheet data.

Example response

{
  "message": "SUCCESS",
  "result": {
    "lastUpdatedBy": {
      "email": "jane.doe@smartsheet.com",
      "name": "Jane Doe"
    },
    "attachments": [
      {
        "mimeType": "PNG",
        "createdBy": {
          "email": "jane.doe@smartsheet.com",
          "name": "Jane Doe"
        }
      }
    ],
    "discussions": [
      {
        "comments": [
          {
            "attachments": [
              {
                "mimeType": "PNG",
                "createdBy": {
                  "email": "jane.doe@smartsheet.com",
                  "name": "Jane Doe"
                }
              }
            ],
            "createdBy": {
              "email": "jane.doe@smartsheet.com",
              "name": "Jane Doe"
            }
          }
        ],
        "commentAttachments": [
          {
            "mimeType": "PNG",
            "createdBy": {
              "email": "jane.doe@smartsheet.com",
              "name": "Jane Doe"
            }
          }
        ],
        "createdBy": {
          "email": "jane.doe@smartsheet.com",
          "name": "Jane Doe"
        },
        "lastCommentedUser": {
          "email": "jane.doe@smartsheet.com",
          "name": "Jane Doe"
        }
      }
    ]
  }
}