UploadAttachment
Upload an attachment to a specific Page.
Input
| Name | Type | Required | Accepts Input Streams | Description |
| ContentId | String | True | False | ID of the content where the attachment will be uploaded. |
| FileLocation | String | False | False | The full path, including name and extension for the file that will be uploaded. |
| FileStream | String | False | True | The file content as an InputStream to be uploaded as an alternative when FileLocation is not specified. |
| FileName | String | False | False | The name of the file. If not specified the name will be the same of the file being uploaded. |
| Status | String | False | False | The status of the attachments content container, supports current or draft, defaults to current.
The allowed values are current, draft. |
| AllowDuplicates | Boolean | False | 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. |