Skip to main content
Published: August 16 2006, 3:35:00 PMUpdated: November 28 2020, 2:26:07 PM

Is there sample code on using GetMyeBaySelling with the .NET SDK?

Attached is a Visual Studio .NET (initial version "2002") command line project in C# that shows how to make the GetMyeBaySelling call using eBay SDK v465.0 for .NET

1. Before you build this sample project, please make sure to check that the project's reference to eBay.Service is valid
The path to this reference is D:\Program Files\eBay\eBay SDK v465.0 for .NET\eBay.Service.dll in this sample.
If needed, remove the existing reference, and add the reference again pointing to whereever this file is on your computer.

2. 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