Upload Document OPA REST API with Multipart/Form-Data
Summary:
I have made an Integration in OIC, which capture data from my PaaS Tables. Attachments are uploaded as BLOB, and my integration has extracted those BLOBS from PaaS table and now I have file reference handle available in my OIC. Now, I want to upload these documents in OPA. For which I am using following REST API
/process/api/v1/instances/{id}/documents/files/data
Request payload configuration for my above REST API is depicted here in this image. Since API is accepting two things, one is binary file attachment and it's metadata as JSON payload.
Content (please ensure you mask any confidential information):
0