Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource: Attachment Contents ( /api/attachment/{id}/contents )

Used to retrieve the contents of an attachment.

This resource supports the following methods: GET

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).

StatusDescription
200 - OKReturned if the request is completed successfully.
404 - NotFoundReturned if the attachment does not exist.

Example - Retrieve Attachment Contents

Example of retrieving the contents of an attachment.

Request Headers

KeyValueDescription
Accept*/*

Request Parameters

KeyValueDescription
{id}4bb709c2-e0e7-4af3-9f60-a045016a9610GUID Identifier of the attachment to retrieve contents for.

Response Headers

KeyValueDescription
Content-Typeapplication/octet-stream

Status Code

200 - OK