Mendix automatically does the mapping for you if you have the JSON structure. Then you need to map the export mapping with your JSON structure.
See JSON Structures - Studio Pro 9 Guide | Mendix Documentation
If this is something you are already doing, please elaborate on what is the issue with filling the second level.
Hi, you can creat a string and then you can add values in the as you wanted to have in json then you can directely pass the string in template while doing the rest call. Hope this will help
Thank you for your response.
Aadarsh i tried creating a string variable and paas all the values in it and created my required json format with it and pass it to the rest call. I am able to use PUT and POST command now and able to update the value through it. Thank you so much for your help.