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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
OleGyldenloeve
New Member

Get data via API

I'm new in Power BI and need some help retrieving data via API. I have tried to insert the parateters below in Get Data / Web / Advanced with no success at all.

PBID_API.png

 

 

POST https://export.oline.dk/api/Nykredit/XmlPropertyInventory HTTP/1.1

Host: localhost:50255

Proxy-Connection: keep-alive

Content-Length: 40

Cache-Control: no-cache

Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop

Content-Type: application/json

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

Postman-Token: bbbbe2e0-efe5-f0d0-9b5f-ff12b07a7698

Accept: */*

Accept-Encoding: gzip, deflate

Accept-Language: da-DK,da;q=0.8,en-US;q=0.6,en;q=0.4

 

Parameters must be insert in BODY:

{

    "UserName":"<UserName>","Password":"<Password>","FromDate":"09-01-2015","ToDate":"11-30-2015"

}

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @OleGyldenloeve,

 

 

From the picture you posted above, I notice that you're using "POST https://export.oline.dk/api/Nykredit/XmlPropertyInventory HTTP/1" in the URL part which is in a wrong format. 

 

In addition, following are some similar threads for your reference:

http://stackoverflow.com/questions/36685463/how-to-connect-my-web-api-wtih-power-bi-reports

https://social.msdn.microsoft.com/Forums/en-US/61ece381-49b9-48e5-a70b-5e35016c28ac/webcontents-and-...

 

Regards

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.