How to create custom object attachment record based on UCM file
I am creating a new integration in Oracle Integration Cloud (OIC). The purpose of this integration is to construct a zip file and then upload that file as an attachment to a custom object in Oracle CX Sales.
These zip files can be greater than 10MB in size. In order to post the zip file to the custom object record using the /{CustomObject_c}/{id}/child/Attachment REST API, I would need to base64 encode the zip file and include it in the payload. OIC has some limitations regarding reading and base64 encoding files larger than 10MB so I'm trying the approach below (all in OIC).