JDBC Driver for Zendesk

Build 24.0.9175

DownloadCommentAttachment

Downloads the specified attachment for a ticket comment.

Input

Name Type Required Accepts Output Streams Description
AttachmentID String False False The attachment ID of the ticket comment.
FilePath String False False The path and name of the file to be downloaded. Only used if FileStream is not empty.
Encoding String False False The data is output to FileData in the specified encoding.

The allowed values are NONE, BASE64.

The default value is BASE64.

FileStream String False True The OutputStream to write the downloaded attachment. Only returned if File is not set.

Result Set Columns

Name Type Description
Success String Indicates whether the operation was successful or not.
FileData String The downloaded file content. Only returned if File and FileStream are not set.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175