You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Map Array of String Objects in OIC Integration Flow

Summary:

Hi Community,

I’m seeking guidance from OIC experts regarding a mapping challenge I’ve encountered. If anyone has faced a similar requirement, I’d appreciate your advice on how you managed it.

Scenario:

Source Payload:
I receive a request payload from the source system in the following format (array of objects, each with a "code" property):

{    "facility_codes": [       

{"code": "UCT01"}, 

{"code": "UCT02"},   

    {"code": "UCT03"}   

] }

Target Endpoint Requirement:

The target system expects the payload in this format (array of strings):

{    "facility_codes": [  "UCT01", "UCT02", "UCT03" ]}

Question:
How can I map the array of objects from the source to an array of strings for the target in OIC?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!