Retrieving Attachments

You can retrieve Oracle CRM On Demand attachments by sending an HTTP GET request to the resource's URL.

Note: The response body is in Base64 Encoding.

The following details are for a request to retrieve an attachment on the Oracle CRM On Demand Server:

  • URL: https://<host>/OnDemand/user/Rest/latest/CustomObjects8/1QA2-1S4YSD/enclosure/Attachment

  • HTTP Method: GET

  • Content-Type: None

  • Request body: None

The following are the details for the response to a successful request:

  • HTTP Code: 200

  • Content-Type: <enclosure dependent>

  • Location: https://<host>/OnDemand/user/Rest/latest/CustomObjects8/1QA2-1S4YSD/enclosure/Attachment

  • Response body: iVBORw0KGgoAAAANSUhEUg.....FTkSuQmCC