Hi,
Can anyone help me how to convert XML data to JSON? or how to refer to parameters in XML?
I am getting xml data like this and needs to convert XML to JSON using Power Automate.
<?xml version='1.0' encoding='UTF-8'?>
<wd:Report_Data xmlns:wd="urn:com.workday.report/CR_Pay_Groups_Period">
<wd:Report_Entry>
<wd:Pay_Group wd:Descriptor="Hourly">
<wd:ID wd:type="WID">67fabc</wd:ID>
<wd:ID wd:type="Organization_Reference_ID">ABC</wd:ID>
</wd:Pay_Group>
<wd:Reference_ID>ABC</wd:Reference_ID>
<wd:PayG wd:Descriptor="Regular">
<wd:ID wd:type="WID">12345</wd:ID>
<wd:ID wd:type="Pay">Details123</wd:ID>
</wd:PayG>
<wd:Pay_Group_Detail_group>
<wd:Period_Schedule_for_Pay_Group_Detail wd:Descriptor="Weekly">
<wd:ID wd:type="WID">9c78087f1df41006d1c329f5097a0000</wd:ID>
<wd:ID wd:type="Period_Schedule_ID">Bloom_Biweekly_M</wd:ID>
</wd:Period_Schedule_for_Pay_Group_Detail>
</wd:Pay_Group_Detail_group>
</wd:Report_Entry>
</wd:Report_Data>
Hi @URU123
Refer this thread : How-to-convert-XML-to-JSON
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
hi @URU123 ,
is your issue mainly because of power automate i guess.
if so please post here:
Microsoft Power Automate Community - Power Platform Community
there u will recieve better answers 😉
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional