I am using applinx 1015 and able to create 1 path procedure in 1 procedure group.
And using screens I am assigning field mapping, for input and output.
after assigning all required outputs I am receiving like this
<tns:test_1_Response xmlns:tns=“http:”>
<first_name></first_name>
<last_name></lastt_name>
<middle_name></middle_name>
<email_id></email_id>
<phone_num></phone_num>
<message_out>updated</message_out>
<first_name></first_name>
<last_name></last_name>
<middle_name></middle_name>
<email_id></email_id>
<phone_num></phone_num>
</tns:test_1Response>
But this is what i require
<tns:test_1_Response xmlns:tns=“http:”>
<person_1>
<first_name></first_name>
<last_name></last_name>
<middle_name></middle_name>
<email_id></email_id>
<phone_num></phone_num>
</person_1>
<message_out>updated</messsage_out>
<person_2>
<first_name></first_name>
<last_name></lastt_name>
<middle_name></middle_name>
<email_id></email_id>
<phone_num></phone_num>
</person_2>
</tns:test_1Response>
How can i group the output for easy human reading (can i use ‘add structure’ or ‘new data structure’ for it) ?
How can i change the XML to JSON (I am able to do it with a python/c# code, but would like to do it in applinx)? tried rest-API-config to modify, but couldn’t understand what is need to change to convert XML to JSON
and what is tns ?