Skip to main content

Notifications

Community site session details

Community site session details

Session Id : e5eZmu/pchD8zr0jsYqTFr
Power Apps - Building Power Apps
Unanswered

How to convert XML TO JSON

Like (0) ShareShare
ReportReport
Posted on 12 Jun 2024 09:07:56 by 3

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>

 

Categories:
  • Rajkumar_M Profile Picture
    3,631 Super User 2025 Season 1 on 12 Jun 2024 at 09:23:30
    Re: How to convert XML TO JSON

    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.

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on 12 Jun 2024 at 09:09:47
    Re: How to convert XML TO JSON

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started