calebbaity
asked on
How to Create a Web API Call in Power BI
Need help creating an API call in Power BI to retrieve data from a specific vendor.
They provided the following link:
https://www.esayworkmobile .co.uk/wmb api3/workm obileinteg ration.asm x
I previously was able to create a working API call using Power BI to a different vendor.
As follows:
Note: Username, Password and OrgID were substituted out in the above example.
While there are several way to retrieve this data, we want a consistent method. We would like to use an API similar to the above to retrieve any data table into Power BI.
MAC
They provided the following link:
https://www.esayworkmobile
I previously was able to create a working API call using Power BI to a different vendor.
As follows:
https://training.reliaslearning.com/webservices/elapi.asmx/ExportEnrollments?authorizationID=USERNAME&passcode=PASSWORD&OrganizationID=ORGID&DateRangeType=3&startDate=01/01/2018&endDate=04/03/2028
Note: Username, Password and OrgID were substituted out in the above example.
While there are several way to retrieve this data, we want a consistent method. We would like to use an API similar to the above to retrieve any data table into Power BI.
MAC
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
ASKER
Looking at the API call that did work:
https://training.reliaslearning.com/webservices/elapi.asmx/ExportEnrollments?authorizationID=USERNAME&passcode=PASSWORD&OrganizationID=ORGID&DateRangeType=3&startDate=01/01/2018&endDate=04/03/2028
And the provided SOAP 1.2 documentation:
Open in new window
I can see that the values for the API call are coming from the lines of code above as follows:The address is being pulled from lines 2 and 9
while the parameters are being pulled from lines 10-15
However, the current vendor's SOAP 1.2 documentation is more complex.
Open in new window
I would think that the address would be from line 2 and 9
as:
https://www.esayworkmobile.co.uk/
And the parameters would be from lines 10-18.
But, I am not certain how to render the parameters.
Currently, I am looking at the Advanced editor in Power BI and using Power Query M to create the
needed parameters so that I can import this data.
Again any help with using the advanced editor or using M would be very much appreciated.
Thanks in Advance!