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?
Tagged:
0