Skip to main content
Published: November 22 2006, 3:23:00 PMUpdated: July 29 2022, 9:22:53 AM

Sample code for LeaveFeedback in VB6 using .NET SDK


If you use the .NET SDK with programming languages such as VB6, it is recommended that you use the no argument Execute method to invoke the call. 

Detailed Description

Here is a sample code for making a call to LeaveFeedback.

'Create the context object
Public context As apiContext
Set context = New apiContext
'set the properties of the context object
context.SoapApiServerUrl = ""
context.ApiCredential.eBayToken = "Token"
'set the site
context.Site = eBayService_SiteCodeType_US
'create the call object
Set ApiCall = New LeaveFeedbackCall
ApiCall.apiContext = context
ApiCall.itemID = "12345678"
ApiCall.CommentType = CommentTypeCodeType_Positive
ApiCall.CommentText = "great buyer"
ApiCall.TransactionID = "0"
ApiCall.TargetUser = "user2"
'Execute the call

To find out all the properties that need to be set for the call, you will need to refer to the documentation for that call.  For this example, if you take a look at the Input / Output reference for LeaveFeedback, you can see all the properties and their datatype.



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