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.
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 ApiCall.Execute
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.