Downloads a single attachment from a message (email) in Microsoft Graph. The attachment is streamed as binary data.
| 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. | |
https://api.telecomx.dk/helpcenter/message/AAMkAGI2TAAA=/attachments/AAMkAGI2AttachmentA=
Binary attachment data. The Content-Type header is taken from the attachment (application/octet-stream when unknown) and Content-Disposition is inline.
| 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> |