web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

HTTP Request to XML

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hi,

 

I try to get data from XML File, with Microsoft Flow.  I searched but ı didn't learn enough knowledge. "http://www.tcmb.gov.tr/kurlar/today.xml " website is contain exchange rate, and ı must get it data to my sharepoint list. How to create Flow?

Thank you... 

 

 

soru.png

 

 

 

 

Categories:
I have the same question (0)
  • JS-27041152-0 Profile Picture
    on at

    You can use the forum ideas to vote for this feature.

     

    While the underlying platform do support this (Look at Logic Apps @json, @xpath function), it looks like we cannot do this from the Flow designer today.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     Hi SameerCh,

     

    thank you for your answer,

     

    Someone has suggested a method , to split the body into  sharepoint columns. he said, For example to ForexSelling Item:

     

    "@ {body ('ForexSelling'). Json.path.to.value} "

     

    But didn't work it.

     

    Do you have any idea?

     

    Thank you 🙂 

     

     

     

  • JS-27041152-0 Profile Picture
    on at

    The issue is that, from the Flow designer (UI), you still will not be able to construct the underlying expression - like the one suggested below.

  • sourche Profile Picture
    2 on at

    Hi,

     

    Method: GET

    URL: https://www.tcmb.gov.tr/kurlar/today.xml

      Sample Xml Body

    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="isokur.xsl"?>
    <Tarih_Date Tarih="21.10.2022" Date="10/21/2022" Bulten_No="2022/201" >
    <Currency CrossOrder="0" Kod="USD" CurrencyCode="USD">
    <Unit>1</Unit>
    <Isim>ABD DOLARI</Isim>
    <CurrencyName>US DOLLAR</CurrencyName>
    <ForexBuying>18.5741</ForexBuying>
    <ForexSelling>18.6076</ForexSelling>
    <BanknoteBuying>18.5611</BanknoteBuying>
    <BanknoteSelling>18.6355</BanknoteSelling>
    <CrossRateUSD/>
    <CrossRateOther/>
    </Currency>
    <Currency CrossOrder="9" Kod="EUR" CurrencyCode="EUR">
    <Unit>1</Unit>
    <Isim>EURO</Isim>
    <CurrencyName>EURO</CurrencyName>
    <ForexBuying>18.1246</ForexBuying>
    <ForexSelling>18.1573</ForexSelling>
    <BanknoteBuying>18.1119</BanknoteBuying>
    <BanknoteSelling>18.1845</BanknoteSelling>
    <CrossRateUSD/>
    <CrossRateOther>0.9758</CrossRateOther>
    </Currency>
    </Tarih_Date>

     

    MehmetCelik_0-1666442712046.png

    Euro Value : float(first(xpath(xml(body('TodayExchangeRates')),'Tarih_Date/Currency[@Kod="EUR"]/ForexSelling/text()')))

    Usd Value  : 

    div(variables('EuroValue'),float(first(xpath(xml(body('TodayExchangeRates')),'Tarih_Date/Currency[@Kod="USD"]/ForexSelling/text()'))))

    MehmetCelik_1-1666442751367.png

     

    Regards,

    Mehmet Şirin ÇELİK

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 378

#2
Valantis Profile Picture

Valantis 329

#3
David_MA Profile Picture

David_MA 283 Super User 2026 Season 1

Last 30 days Overall leaderboard