Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
skaiser
New Member

Use web API as data source for Power Bi

I am trying to use financial information like General Ledger Details from the Sage Intacct API (Oauth) as a data source in Power BI. I've seen reccomendations to use a Power Automate custom connector which I am able to get to function and connect to https://api.intacct.com/ia/xml/xmlgw.phtml and recieve the same results I see in postman. 

 

My question is now that I have a custom connector in Power Automate how do I use Visual Studio to get the swagger file from the custom connector into a .mez to use in Power BI as a data source? Or is there maybe a better way to accomplish this?

 

here is the swagger file from the power automate custom connector with credentions as ******:

 

{
"swagger": "2.0",
"info": {
"title": "IntacctBlank",
"description": "blank",
"version": "1.0"
},
"host": "api.intacct.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/ia/xml/xmlgw.phtml": {
"post": {
"responses": {
"default": {
"description": "default",
"schema": {}
}
},
"summary": "GL",
"operationId": "GLDetail",
"parameters": [
{
"name": "Content-Type",
"in": "header",
"required": false,
"type": "string",
"default": "application/xml"
},
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "string",
"title": "detail",
"default": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <request> <control> <senderid>*******</senderid> <password>*******</password> <controlid></controlid> <uniqueid>false</uniqueid> <dtdversion>3.0</dtdversion> <includewhitespace>false</includewhitespace> </control> <operation> <authentication> <login> <userid>skaiser</userid> <companyid>******</companyid> <password>******</password> </login> </authentication> <content> <function controlid=\"{{$guid}}\"> <query> <object>GLDETAIL</object> <select> <field>RECORDNO</field> <field>MODULEKEY</field> </select> <filter> <equalto> <field>MODULEKEY</field> <value>11.CM</value> </equalto> </filter> </query> </function> </content> </operation> </request>"
}
}
],
"description": "test"
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": []
}

1 REPLY 1
lbendlin
Super User
Super User

"I've seen reccomendations to use a Power Automate custom connector"

 

That is unfortunate.  Power BI custom connectors are written in M, not in Swagger. You'll have to start over.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.