Skip to main content
Published: June 15 2006, 12:00:00 AMUpdated: July 24 2022, 3:16:37 PM

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

Attached is a Visual Studio .NET 2003 command line project in C# that shows how to make and process the GetSellerEvents call using eBay SDK 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 v1131.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";

For more information on the GetSellerEvents call please see the following Knowledge Base articles:


GetSellerEvents: working with limits with large number of items

Best Practices for GetSellerEvents and GetSellerTransactions
 

 

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