Forum Discussion
Does REST API support on-premises Report Server?
- 8 years ago
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/
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.
- stretcharm8 years agoMemorable Member
Thanks. Using a path is going to be a bit more friendly that finding the id.
Phil