Skip to Content
0
Dec 13, 2022 at 05:41 AM

How to send mentioned json structure to third party

105 Views

Dear Sir,

I need to send below mentioned json structure to third party and did integration like Proxy(sap-source system) to Rest(non sap-target system).

Third party wants request in below format:

[{ "employee_id":"44556", "establishment_head_mobile_number":"9999999999" }, { "employee_id":"33423", "establishment_head_mobile_number":"9999999999" }]

In PI I am able to generate below format but third party wants above format so could you please help on this issue

{ "root":[{ "employee_id":"44556", "establishment_head_mobile_number":"9999999999" }, { "employee_id":"33423", "establishment_head_mobile_number":"9999999999" } ] }

Thanks and Regards,

Dileep