cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
teros Regular Visitor
Regular Visitor

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 Senior Member
Senior 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/

 

 

5 REPLIES 5
Moderator v-qiuyu-msft
Moderator

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 Senior Member
Senior 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/

 

 

Moderator mgmeyer
Moderator

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.

Moderator mgmeyer
Moderator

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.

Highlighted
stretcharm Senior Member
Senior 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