How do I download attachments associated to custom objects using the Rest API available with Oracle Service Cloud?
Oracle Service Cloud - all releases
Connect Rest API - all supported versions
In order to retrieve the attachments for a custom object, the same type of request needs to be performed, with a slight change in syntax, as opposed to when downloading attachments for standard objects.
The syntax is as follows:
Note the capital "F" in "FileAttachments", as opposed to "f" when downloading attachments for standard objects:
/fileAttachments/FileAttachment_id?download ---> standard objects request
For more information on how to use Connect Rest API with Oracle Service Cloud, check our documentation available at Rest API for Oracle Service Cloud.