Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
易趣API GetSellerListCall未返回.NET SDK上的项目_.net_Ebay Api - Fatal编程技术网

易趣API GetSellerListCall未返回.NET SDK上的项目

易趣API GetSellerListCall未返回.NET SDK上的项目,.net,ebay-api,.net,Ebay Api,当询问卖家列表时,返回的列表为空,不会发生错误 代码是: oGetSellerListCall.UserID = sellerUsername; TimeFilter tf = new TimeFilter(); tf.TimeFrom = DateTime.Now.AddMinutes(1); tf.TimeTo = DateTime.Now.AddDays(30); oGetSellerListCall.EndTimeFilter = tf; oGetSellerListCall.Execu

当询问卖家列表时,返回的列表为空,不会发生错误

代码是:

oGetSellerListCall.UserID = sellerUsername;
TimeFilter tf = new TimeFilter();
tf.TimeFrom = DateTime.Now.AddMinutes(1);
tf.TimeTo = DateTime.Now.AddDays(30);
oGetSellerListCall.EndTimeFilter = tf;
oGetSellerListCall.Execute();
请注意,这段代码不久前还在运行


如何解决此问题?

您在将来提供了一个过滤器,因此不会有结果

tf.TimeFrom = DateTime.Now.AddDays(-30);
tf.TimeTo = DateTime.Now;

谢谢,但还是不行。我相信API返回的是我自己的项目,而不是卖方在“oGetSellerListCall.UserID”中指定的项目。