Wednesday, 24 June 2020

OIC - REST Adapter - Receive Attachment and Upload To Object Storage

Use the following Steps to accept the Attachment in the request message. 
  • Create an APP Driven Orchestration
  • Add Rest Adapter at the trigger action
  • Provide Name and URI 
  • Select POST/PUT operation
  • Select Configure Request and Response Payload options. 
  • Under Request page , select Accept attachment option. 
  • If you are expecting additional payload , add the sample Json payload. 
  • Under Response page, provide sample Json payload 
  • Select Done. 








Use the following Steps to upload the incoming attachment to an Object Storage. 

  • Add an Object Storage REST adapter. 
  • Give a name and URI - /n/{tenancy_name}/b/{bucket_name}/o/{object_name}
  • Select PUT operation. 
  • Select Configure Request payload. 
  • Under Request Page , select Binary as a Request format option. 
  • Complete the settings. 






Map Incoming Attachment to Object Storage.

  • Source section , Select Request wrapper
  • Go to Attachments
  •  Select Attachment Reference 
  • Drag and Drop it to Target Stream element. 






No comments:

Post a Comment

ERP - GL - Chart Of Accounts

Segments in General Ledger   Segments  are dimensions used to represent an account in a financial system. A company can have anywhere from...