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

Hanlde dynamic REST response in OIC

Accepted answer
24
Views
3
Comments
edited Apr 26, 2021 1:32PM in Integration 3 comments

Content

Hi Experts,

I'm calling the external REST API in OIC which returns the dynamic response as below:

Response-1

{

"name":"Ankur",

"age":1

}

Response-2

{

"contact":"aaa",

"email":"dd"

}

How to handle such response in the mapper, if response-1 comes, I only want to map those fields and if response-2 comes in I only want to map those fields.

Please help to solve.

Regards,

Ankur

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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