The SSRS RESTful API George Walkey Sr. DBA, Patient First Corp Richmond, VA https://github.com/gwalkey george@insyncva.com
Agenda What is Rest? Soap vs Rest Demos in Powershell Create Folders Upload Reports Permissions Subscriptions Swagger Docs
SQL Server and Powershell
What is REST? The SQL Server 2017 Reporting Services REST API provides programmatic access to the report server catalog. Basic CRUD operations can be done on folders, reports, KPIs, data sources, datasets, refresh plans, subscriptions, etc. The REST API provides more advanced functionality, such as: Navigate the folder hierarchy Discover the contents of a folder Download a report definition Modify default report parameters Change or execute a Subscription A whole lot more The REST API is a RESTful successor to the legacy [SOAP API](https://msdn.microsoft.com/library/reportservice2010.reportingservice2010.aspx).
SOAP vs Rest SOAP uses XML and WSDL Rest uses JSON and Swagger SSRS SOAP interface since 2005 SSRS Rest interface since 2016 XML is generally a “heavier” payload https://stackoverflow.com/questions/19884295/soap-vs-rest-differences
Demos Using Power BI Server Powershell Win 5.1 1) Create Folders 2) Upload Reports 3) Create Subscriptions and fire them off 4) Set Permissions and other Operations “GET” Method Access via Web Browser http://localhost/reports/api/v2.0
You are the next SQL Saturday Speaker! Thank You You are the next SQL Saturday Speaker! 5/6/2019 | Footer Goes Here