简体   繁体   English

使用API​​填充SQL Server数据库

[英]Use API to populate SQL Server DB

I am relatively new to this so if this is a dumb question please just link me to some relevant information. 我对此还比较陌生,因此,如果这是一个愚蠢的问题,请仅将我链接到一些相关信息。

We work with a third party vendor that recently opened up their databases using an API. 我们与最近使用API​​打开其数据库的第三方供应商合作。 Information on it can be found here: https://www.entrata.com/api-documentation . 可以在以下位置找到有关它的信息: https : //www.entrata.com/api-documentation It returns the data in either an XML or JSON format as per usual. 照常返回XML或JSON格式的数据。

We would like to use this API to copy relevant data onto our own SQL server so we can preform our own reporting (their provided reports aren't quite up to snuff with what we are looking for). 我们希望使用此API将相关数据复制到我们自己的SQL Server上,以便我们可以执行自己的报告(它们提供的报告并不能完全满足我们的需求)。 We want this to be done regularly so I am really looking for a repeatable process. 我们希望定期进行此操作,因此我真的在寻找可重复的过程。 I have been searching around and I believe I am going to have to build a .NET application that GETs the data then parses it into a SQL friendly format for BULK INSERT, but I'm not sure if this is indeed the case or where to really start if it is. 我一直在搜索,我相信我将不得不构建一个.NET应用程序,该应用程序先获取数据,然后将其解析为SQL友好格式以用于大容量插入,但是我不确定是否确实如此或在哪里如果真的是真的开始。

Any information you can provide or even a point in the right direction would be greatly appreciated. 您能提供的任何信息,甚至指向正确方向的信息,都将不胜感激。 Thank you for your time and effort. 感谢您的时间和精力。

PS At the moment I do not have access to our SQL server. PS目前,我无法访问我们的SQL Server。 I have been trying to get a logon from our IT department for the last week but they seem to be dragging their feet. 上周,我一直在尝试从我们的IT部门获取登录信息,但是他们似乎在拖延脚步。

Use SQL Server Integration Services (SSIS) to develop a package that imports the data. 使用SQL Server集成服务(SSIS)来开发一个导入数据的包。 https://msdn.microsoft.com/en-us/library/ms169917.aspx https://msdn.microsoft.com/zh-CN/library/ms169917.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM