Home
Find the answer to your question
.NET SDK Sample code for listing an Item on Half.com
.NET SDK Sample code for listing an Item on Half.com
Summary
If you are a high volume seller, you may want to consider using
FileExchange to list for items as listing via FileExchange is highly optimized.
using System;
using eBay.Service.Call;
using eBay.Service.Core.Sdk;
using eBay.Service.Util;
using eBay.Service.Core.Soap;
namespace SDK3Examples
{
public ApiContext GetContext()
{
ApiContext context = new
ApiContext();
// Set the URL
context.SoapApiServerUrl =
"https://api.ebay.com/wsapi";
// Set logging
context.ApiLogManager = newApiLogManager();
context.ApiLogManager.ApiLoggerList.Add(new
eBay.Service.Util.FileLogger("Messages.log", true,
true, true));
context.ApiLogManager.EnableLogging = true;
// Set the version
context.Version = "479";
return context;
}
Version Info
The code example above was based on the versions specified below:
API Schema Version | 479 |
.NET SDK Version | .NET SDK v479.0 full release |