Consuming REST TABLE API in SSRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 02:21 PM
Hello,
I am exploring to get the data out of a Table and use SSRS to create some reports.
How can I get the authentication part of the API call working from SSRS?
Is it doable in SSRS?
Appreciate any tips!
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2022 01:24 PM
I don't know SSRS at all (assuming you're referring to SQL Server Reporting Services) - however, you can authenticate to a REST call by either
- passing BASIC credentials in the URL (https://username:password@instance.service-now.com) or
- passing an "Authorization" header with the username:password Base64 encoded and prefaced by the string "Basic".
So, for example - if my username and password were "Test" and "Test", you would pass a header
Authorization: Basic VGVzdDpUZXN0
https://www.base64encode.org/
If helpful or correct, please indicate so!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2022 11:30 AM
Thank you for the reply. Yes, it is SQL Server Reporting Services. It does not work with REST API.
I went with ServiceNow ODBC driver. I was able to make it work with ODBC as Data source.
It ODBC driver has it's own limitations though.
Thanks