Notifications
Announcements
No record found.
Hello ,
I need to send XML file that contains some data from D365FO to one REST API (provided by 3rd party) . I am looking for all possible options available in D365FO . It will be kind of Push operation from D365FO to REST API.
please suggest.
Hi Rohin,
Do you have specific questions about REST API consumption in F&O or it's general question?
For example you can use .net class HttpWebRequest or complete libraries likes RestSharp ( https://restsharp.dev/ )
allaboutdynamic.com/.../
Thanks Sergei, however , I have a xml file generated by FO and need to send this file to REST API. I was wondering what approach I could you i.e. Data management or recurring or something else ?
The data management can't communicate with web services directly. If you can export XML via entity, you can utilize recurring job or data package API to prepare data on F&O side, and integration middleware like Logic Apps can download message from F&O, transform message to web service format and push it futher.
But you can communicate with web services from F&O with x++ development as well as i mentioned in prev. comment.
Okay , I can see only JSON data send to web API however my case is bit different, I have XML file with data that need to send over REST API , can you please suggest any sample examples or something useful resource ??
As Sergei suggested, the easiest approach might be to use Recurring Data jobs or Data Package API to export the XML from D365FO. Then use LogicApps to fetch the XML file and send it to the web service. This way you could utilize existing building blocks that others have created (and keep maintaining) and minimize the need to write code yourself.
There are a lot of examples on the Internet on how to use HttpWebRequest and send xml in body (you can always check how it done in C# and do the same in x++)
stackoverflow.com/.../c-sharp-rest-api-xml-as-post-data
Thanks Nikolaos and Sergei .
I have already XML generated by Electronic reporting(ER) format . And I don't use logic app however we have dell bhoomi where i need to send this xml file. is there any way to send it to bhoomi via recurring job ?? please suggest solutions.
Recurring jobs are used only with entites.
For ER files you can use MS Power Automate integration, send generated files to SharePoint or to system email and PowerAutomate can do futher processing based on SharePoint trigger or e-mail trigger.
Looks like you already had similar case:
community.dynamics.com/.../send-xml-files-from-d365-to-bank-using-er-framework
Yes , that's originated from there. Initially we supposed to send through ER framework but it doesn't have capabilities to send directly to web service therefore we will be using Bhoomi as middleware. Now We can't use MS flow/PowerAutomate/logic app other than BHOOMI. Can you please do let me know what are the possibilities.
I recommend you check the capabilities of BHOOMI first. Can it have e-mail based triggers? Or integration with SharePoint? (at the moment it's the easiest ways to get XML generated by ER out of F&O)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 660 Most Valuable Professional
André Arnaud de Cal... 549 Super User 2025 Season 2
Sohaib Cheema 307 User Group Leader