SQL Server do not have a build-in API like REST or SOAP, you would have to create your own API.
Way to provide access to data in sqlserver via an API
Hi
We need to expose some data in SQL server to a third party org who are outside our firewall. (We do have a VPN over a private circuit though).
We could allow them to connect to the sql box via firewall rules, or export data to files and push these to an SFTP server for them to download.
However we were wondering of there is a way to expose data in SQL via a restful API, without having to do too much additional work.
Is there an option to allow access to data in a sql database via an API without too much work/expense ?
Thanks
2 additional answers
Sort by: Most helpful
-
Greg Booth 1,316 Reputation points
2022-02-16T11:33:59.167+00:00 Thanks Olaf - do you know what the best microsoft toolset to do that with is ?
-
Seeya Xi-MSFT 16,461 Reputation points
2022-02-17T03:11:25.503+00:00 Hi @Greg Booth ,
Welcome to Microsoft Q&A!
Please read this article which may give you some help.
https://www.mssqltips.com/sqlservertip/6803/build-secure-sql-server-rest-api-minutes/Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.