cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
stretcharm Memorable Member
Memorable Member

Re: Does REST API support on-premises Report Server?

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
Community Support
Community Support

Re: Does REST API support on-premises Report Server?

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.
stretcharm Memorable Member
Memorable Member

Re: Does REST API support on-premises Report Server?

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

Power BI Team
Power BI Team

Re: Does REST API support on-premises Report Server?

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.

Power BI Team
Power BI Team

Re: Does REST API support on-premises Report Server?

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

Re: Does REST API support on-premises Report Server?

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

 

Phil

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.