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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
teros
Helper I
Helper I

Does REST API support on-premises Report Server?

I've just downloaded the 11/1 GA update the the on-premises Report Server and Power BI Desktop.  I read a reference to a REST API -- will this work with the on-premises Report Server? Where might I find documentation?

 

1 ACCEPTED SOLUTION
stretcharm
Memorable Member
Memorable Member

yes.

 

Chris Webb has a blog post

https://blog.crossjoin.co.uk/2017/10/15/exploring-the-new-ssrs-2017-api-in-power-bi/

 

 

I setup a connection to the Oct PowerBI RS 

using http://Server/Reports/api/v2.0

 

and connected to an odata data source

 

drill into Datasets and get the ID

They use in an odata conection with open type columns (from advanced) and put your id between the brackets.

 

Source = OData.Feed("http://server/Reports/api/v2.0/DataSets(06ffbf58-b11a-47d0-b17c-18ff44d26c68)/data", null, [MoreColumns=true]),

 

And expand your columns.

 

see for more details

https://powerbi.microsoft.com/en-us/documentation/reportserver-access-dataset-odata/

 

 

View solution in original post

5 REPLIES 5
mgmeyer
Power BI Team
Power BI Team

If your looking for the REST API documentation for development purposes we published it on SwaggerHub here:

 

https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

If your looking to connect to you datasets using the OData API this is the specific API you need to use:

 

http://{server}/reports/api/v2.0/datasets(Path='{path to your report})/data

 

Note you can also use ID instead of path if you know your datasets ID.

Thanks. Using a path is going to be a bit more friendly that finding the id.

 

Phil

mgmeyer
Power BI Team
Power BI Team

If your looking for the REST API documentation for development purposes we published it on SwaggerHub here:

 

https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

If your looking to connect to you datasets using the OData API this is the specific API you need to use:

 

http://<server>/reports/api/v2.0/datasets(Path='<path to your report>)/data

 

Note you can also use ID instead of path if you know your datasets ID.

stretcharm
Memorable Member
Memorable Member

yes.

 

Chris Webb has a blog post

https://blog.crossjoin.co.uk/2017/10/15/exploring-the-new-ssrs-2017-api-in-power-bi/

 

 

I setup a connection to the Oct PowerBI RS 

using http://Server/Reports/api/v2.0

 

and connected to an odata data source

 

drill into Datasets and get the ID

They use in an odata conection with open type columns (from advanced) and put your id between the brackets.

 

Source = OData.Feed("http://server/Reports/api/v2.0/DataSets(06ffbf58-b11a-47d0-b17c-18ff44d26c68)/data", null, [MoreColumns=true]),

 

And expand your columns.

 

see for more details

https://powerbi.microsoft.com/en-us/documentation/reportserver-access-dataset-odata/

 

 

v-qiuyu-msft
Community Support
Community Support

Hi @teros,

 

Maybe guys  @chrisfin@mgmeyer@riccardomuti@Jon-Heide from PG team have ideas. 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.