.net 易趣GetMyeBaySelling API调用仅返回指定字段

.net 易趣GetMyeBaySelling API调用仅返回指定字段,.net,performance,ebay-api,ebay-net-sdk,.net,Performance,Ebay Api,Ebay Net Sdk,我使用带有沙盒的eBay SDK 921 API 我想获得我所有的项目ID(我有很多项目,我想提高性能),我使用以下代码: GetMyeBaySellingCall apicall = new GetMyeBaySellingCall(this.Context); apicall.DetailLevelList.Add(DetailLevelCodeType.ReturnAll); apicall.ApiRequest.OutputSelector = new StringCollection(

我使用带有沙盒的eBay SDK 921 API

我想获得我所有的项目ID(我有很多项目,我想提高性能),我使用以下代码:

GetMyeBaySellingCall apicall = new GetMyeBaySellingCall(this.Context);
apicall.DetailLevelList.Add(DetailLevelCodeType.ReturnAll);
apicall.ApiRequest.OutputSelector = new StringCollection(new string[] { "ItemID" });
apicall.GetMyeBaySelling();
var sellerlist = apicall.ActiveListReturn.ItemArray.ToArray();
但是
GetMyeBaySelling
方法返回项目的所有字段

你能帮我只获取
项目ID
字段状态吗

除非指定的字段可以在多个容器中返回,否则不必指定字段的完整路径

由于
GetMyeBaySelling
返回多个项目,因此字段
ItemID
将在多个容器中返回。因此,您必须指定完整路径

apicall.ApiRequest.OutputSelector = new StringCollection(new string[] { "ActiveList.ItemArray.Item.ItemID" });