voxel.support.tickets.attachments.read

Fetch one attachment to a post of a support ticket.

Parameters

ticket_id (required)
A number identifying a support ticket. See voxel.support.tickets.list.
attachment_id (required)
A number identifying an attachment to an update on a support ticket. See voxel.support.tickets.posts.list.
convert (optional)
Enable some other output format such as "raw," or "cdata." See hAPI documentation for alternative option "format=json_v2."

Example Response

<rsp stat="ok">
    <attachment id=123>
    <data encoding="base64" type="text/html">
(Base 64 Encoded content of attachment)
    </data>
   </attachment>
</rsp>

Notes

For this method, the "convert" parameter supports the option "raw" If "raw" is specified, the content of the attachment is returned directly without XML formatting, and the Content-Type and Content-Disposition headers are set.

Method Specific Error Codes

None