Resource: Attachment Contents ( /api/attachment/{id}/contents )
Used to retrieve the contents of an attachment.
Methods
GET
Retrieves the contents of an attachment.
Status Codes
These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request is completed successfully. |
404 - NotFound | Returned if the attachment does not exist. |
Example - Retrieve Attachment Contents
Example of retrieving the contents of an attachment.
Request Headers
Key | Value | Description |
---|---|---|
Accept | */* |
Request Parameters
Key | Value | Description |
---|---|---|
{id} | 4bb709c2-e0e7-4af3-9f60-a045016a9610 | GUID Identifier of the attachment to retrieve contents for. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/octet-stream |
Status Code
200 - OK