ADO.NET Provider for Confluence

Build 24.0.9060

DownloadAttachment

Download attachment by specifying its Id.

Input

Name Type Required Accepts Output Streams Description
Id String True False The ID of the content that the attachment is attached to.
AttachmentId String True False The ID of the attachment to download.
Version String False False The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
FileLocation String False False The location of where to save the file.
Overwrite String False False If true, the procedure will override files if they exists. Default value is false.
Encoding String False False The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

FileStream String False True An instance of an output stream where file data is written to. Only used if FileLocation is not provided.

Result Set Columns

Name Type Description
Success String This value shows whether the operation was successful or not.
FileData String If the FileLocation and FileStream are not provided, this contains the content of the file.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060