Home
Find the answer to your question
How can I make a simple GetItemTransactions call using the .NET SDK (C#)?
Summary
GetItemTransactions C# sample
Detailed Description
This sample is using Microsoft Visual Studio 2010, eBay .NET SDK Version 715 - .NET 2.0 Point Release
Requirements:
After opening a C# project,
- Add a reference to eBay.Service dll
- Make sure Target Framework is not set to .NET Framework Client Profile
1. Add these namespaces
using eBay.Service.Call;
using eBay.Service.Core.Sdk;
using eBay.Service.Core.Soap;
2. Code Sample (This sample was in a windows form project in a button click):
/* ApiContext oContext = new ApiContext(); //set the AuthToken //set the endpoint (sandbox) use https://api.ebay.com/wsapi for production //set ItemID and <DetailLevel>ReturnAll<DetailLevel> |
Additional Resources
eBay SDK for .NET page: http://developer.ebay.com/developercenter/windows/sdk/