How to export SSRS 2017 report using REST API

后端 未结 3 1098
北荒
北荒 2021-02-20 17:01

I\'ve setup SSRS 2017.I need to export an SSRS report using their new REST API, I\'ve been looking through the API specification here but I can\'t find a method in swagger speci

3条回答
  •  甜味超标
    2021-02-20 17:10

    This appears to be somewhat out of date. You can download a report which is in .rdl format directly from the API:

    Check out: https://app.swaggerhub.com/apis/danmonteiro/SSRS-ageradora/2.0#/Reports/GetReportContent

    Here's an example url that sends back the file:

    http://10.0.15.78/reports/api/v2.0/Reports(8bf3f3c9-8f72-4c1a-b9bb-54b8ff1d6729)/Content/$value

    I just tried this against report server in the browser and it immediately asked where I wanted to save the file.

提交回复
热议问题