Skip to main content
Published: May 02 2006, 12:00:00 AMUpdated: November 28 2020, 2:01:30 PM

How do I retrieve a collection of items using GetMyeBayBuying call and WonListReturn?
Is there example code for retrieving items won using GetMyeBayBuyingCall?

Attached is a Visual Studio .NET 2003 command line project in C# that shows how to process the WonList for a GetMyeBayBuying call using eBay SDK v447.0 for .NET
Before you run the sample, you will need to fill in your information in place of the "xxx" in the following lines of source code:

// set the dev,app,cert information
oContext.ApiCredential.ApiAccount.Developer = "xxx";
oContext.ApiCredential.ApiAccount.Application = "xxx";
oContext.ApiCredential.ApiAccount.Certificate = "xxx";

// set the AuthToken
oContext.ApiCredential.eBayToken = "xxx";

Please note that the default API URL is set to Production:
oContext.SoapApiServerUrl = "https://api.ebay.com/wsapi";

How well did this answer your question?
Answers others found helpful