UploadAttachment
Upload an attachment to a specific Page.
Input
Name | Type | Required | Description |
ContentId | String | True | ID of the content where the attachment will be uploaded. |
FileLocation | String | False | The full path, including name and extension for the file that will be uploaded. |
FileName | String | False | The name of the file. If not specified the name will be the same of the file being uploaded. |
Status | String | False | The status of the attachments content container, supports current or draft, defaults to current.
The allowed values are current, draft. |
AllowDuplicates | Boolean | False | Allows to upload an attachment with an existing filename. Default is false. |
Result Set Columns
Name | Type | Description |
Success | String | This value shows whether the operation was successful or not. |
AttachmentId | String | Id of the attachment that has been uploaded. |