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

Supoort of rest array json

edited Jun 9, 2020 6:03AM in Integration 9 comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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