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 write and then read data with Nested array structure into stage in OIC?

edited Apr 8, 2020 2:59PM in Integration 4 comments

Content

Hi All,
 
I am trying to write multiple employees data and their corresponding multiple address into stage and then read it at once and send as response in single call.
Can someone help me on how to achieve this?
 
Expected response:
 
{
"Employee":[{
"Name":"ABC",
"Id":123,
"Age":24,
"Address":[
{
"City":"Test1",
"State":"Test2"
},
{
"City":"Test3",
"State":"Test4"
}]
},
{
"Name":"DEF",
"Id":456,
"Age":24,
"Address":[
{
"City":"Test5",
"State":"Test6"
},
{
"City":"Test7",
"State":"Test8"
}]
}]
}
 
Thanks,
Ranganadh

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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