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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP Requests with XML...
Power Automate
Unanswered

HTTP Requests with XML as input

(0) ShareShare
ReportReport
Posted on by 2

I'm having the following issue:

I need to call an external API with "Report search criteria and export options are passed in request XML file."

 

How to do this in Power Automate?

I want to use this to automate reporting.

 

Any help would be great.

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    did you mean to say "Report search criteria and export options are passed as XML in the POST request body/payload"  ?  Does your external API come with documentation and examples?

  • Maschek Profile Picture
    2 on at

    Hello,

    The documentation for the API can be found here: https://support.blancco.com/display/KB/API+documentation
    For example:
    Im'having the following XML file (filename:API_XML_Request_test.xml)
    <?xml version="1.0" encoding="UTF-8"?>
    <request>
    <export-report>
    <report mode="original"/>
    <search path="report.report_date" value="2022-12-01 00:00:00" operator="gt" datatype="date" conjunction="true" />
    <search path="report.report_date" value="2023-01-01 00:00:00" operator="lt" datatype="date" conjunction="true" />
    <reportColumns>
    <columnPath>report.uuid</columnPath>
    <columnPath>report.report_date</columnPath>
    <columnPath>blancco_data.blancco_hardware_report.system.serial</columnPath>
    <columnPath>user_data.fields.Asset ID</columnPath>
    </reportColumns>
    <csv-options csvLanguage="en_US" delimiter=";" subDelimiter=":"/>
    </export-report>
    </request>

    When running a CURL command

    curl --user [Username]:[password] --basic --form "xmlRequest=@API_XML_Request_test.xml" https://cloud.blancco.com:443/rest-service/report/export/csv

    on Windows everything works fine.

     

    The question now is how to do this in Power Automate?

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    like this

     

    lbendlin_0-1673404038930.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard