Table of Contents

API : Helpcenter Case Attachment Download

Introduction

Downloads a single attachment from a message (email) in Microsoft Graph. The attachment is streamed as binary data.

Request

URL https://api.telecomx.dk/helpcenter/message/MESSAGE_ID/attachments/ATTACHMENT_ID
Method GET
Access level RESELLER_ADMIN with HELPCENTER feature, or ADMIN.
Param MESSAGE_ID Id of the message (Microsoft Graph message id).
ATTACHMENT_ID Id of the attachment, from the attachment list.

Query example

https://api.telecomx.dk/helpcenter/message/AAMkAGI2TAAA=/attachments/AAMkAGI2AttachmentA=

Response

Binary attachment data. The Content-Type header is taken from the attachment (application/octet-stream when unknown) and Content-Disposition is inline.

Errors

Error code Message Description
400 messageId Invalid messageId
404 helpcenter Helpcenter not found
401 helpcenter Access token expired
404 attachment Attachment not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>