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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

API Request

Hi everybody,

I need your help !

 

I would use PowerBI to get data from sevrals apps : website metrics, twitter etc.

It was simple because i just had to change parameters in the URL. Example : myservice.fr/request/data/getData?param=%7B%22columns%22:";"%5B%22click%22,%22event_name%22,%22p1.m_visits%22,%22 etc.
I could get date that way, it was easy.

 

Now, I have a new service and it seems to me that it's kinda different.

I have the URL : https://myservice.com/report/batch/query.json
And i have a body : 

 

 

 

{
"reports": [
{
"kind": "rt#pagetree",
"path": "mcWEBSITE[1234].mcGLOBALPAGETREE.mcPAGETREE",
"dateRanges": [

{ "dateFrom" : "2024/01/01", "dateTo": "2024/03/07", "dateFormat" : "YYYY/DD/MM" }
],
 etc.

 

 

I don't understand how I can use that in PowerBi...where do I have to put the body ?

 

Best regards

1 REPLY 1
lbendlin
Super User
Super User

There's a Content attribute for that.

Web.Contents - PowerQuery M | Microsoft Learn

Example 2

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.