Skip Navigation
Download attachments for custom objects
Answer ID 11264   |   Last Review Date 11/25/2019

How do I download attachments associated to custom objects using the Rest API available with Oracle B2C Service?


Oracle B2C Service - 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 B2C Service, check our documentation available at Rest API for Oracle B2C Service.