Supoort of rest array json
Content
Hi,
I have a external REST endpoint which wanted to call from OIC having below structure. Here label is repeating not field attribute. Can I call such REST API and pass below request. I tried to configure request in the mapper and mapper showing field as repeated element. After configuring the field as array and try to test the mapper, it's creating multiple field element not label.
{
"my_fields": {
"field": [
{
"label": "ABS_123"
},
{
"label": "ABS_123"
}
]
}
}
If I do the same my external REST fails.
Tagged:
0