Skip to content

supportCaseAttachmentContent

Returns the content of a support case attachment identified by its content version ID.

Arguments

Argument Type Description
contentVersionId (required) String! The record ID of the attachment content version.

Returns

DownloadCaseAttachmentReply!

Sample

query SupportCaseAttachmentContent($contentVersionId: String!) {
  supportCaseAttachmentContent(contentVersionId: $contentVersionId) {
    contentType
    data
    fileName
  }
}
{
  "contentVersionId": "example-string"
}
{
  "data": {
    "supportCaseAttachmentContent": {
      "contentType": "example-string",
      "data": "example-string",
      "fileName": "example-string"
    }
  }
}