Asp.net web api CMS开放支付数据限制
我终于找到了将web API导入SQL环境所需的代码。然而,当我运行SSIS脚本组件包(脚本语言:Visual Studio C#2017)时,我只能从数百万条记录中检索到1000条记录。一位顾问提到,为了访问其他记录,我可能必须将应用令牌合并到我的代码中 有人能证实这是真的吗?如果是,应该如何编码 以下是我的“ForEach”循环代码之前的代码:Asp.net web api CMS开放支付数据限制,asp.net-web-api,ssis,socrata,soda,Asp.net Web Api,Ssis,Socrata,Soda,我终于找到了将web API导入SQL环境所需的代码。然而,当我运行SSIS脚本组件包(脚本语言:Visual Studio C#2017)时,我只能从数百万条记录中检索到1000条记录。一位顾问提到,为了访问其他记录,我可能必须将应用令牌合并到我的代码中 有人能证实这是真的吗?如果是,应该如何编码 以下是我的“ForEach”循环代码之前的代码: public override void CreateNewOutputRows() { //Set Webs
public override void CreateNewOutputRows()
{
//Set Webservice URL
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string wUrl = "https://openpaymentsdata.cms.gov/resource/bqf5-h6wd.json";
string appt = "MyAppToken";
try
{
//Call getWebServiceResult to return our Article attributes
List<Payment> outPutResponse = GetWebServiceResult(wUrl);
public override void CreateNewOutputRows()
{
//设置Web服务URL
ServicePointManager.Expect100Continue=true;
ServicePointManager.SecurityProtocol=SecurityProtocolType.Tls12;
字符串wUrl=”https://openpaymentsdata.cms.gov/resource/bqf5-h6wd.json";
字符串appt=“MyAppToken”;
尝试
{
//调用getWebServiceResult返回文章属性
List outPutResponse=GetWebServiceResult(wUrl);
如果有使用应用程序令牌的替代方法(例如在HTTP连接中),请告诉我。找到了
https://openpaymentsdata.cms.gov/resource/bqf5-h6wd.json?$limit=10000&$$app\u token=“MyAppToken”