I use eBay SDK 921 API with sandbox.
I want to get all my Items IDs (I have a lot of items and I want improve the performance), and I use this code:
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();
but GetMyeBaySelling
method returns all fields of the Items
Could you please help me to get the ItemIDs
only
The documentation for the OutputSelector field states (emphasis added)
Since
GetMyeBaySelling
returns several items the fieldItemID
will be returned in multiple containers. You will therefore have to specify the full path.