Skip to main content
Published: March 27 2007, 10:32:00 AMUpdated: November 28 2020, 3:23:34 PM

.NET SDK sample to report VERO items

Detailed Description

This C# example demonstrates how make a call to VEROReportItems to report items that are infringing your copyright, trademark, or other intellectual property rights.

using System;
using eBay.Service.Call;
using eBay.Service.Core.Sdk;
using eBay.Service.Util;
using eBay.Service.Core.Soap;

namespace SDKSamples

public class SDKSamples
public void VeroReportItem(string itemID, string rightsOwner)
    VeROReportItemsCall apicall = new VeROReportItemsCall(GetContext());
    //Set the UserID of the Rights Owner
    apicall.RightsOwnerID = rightsOwner;
    //Create a collection of items to report
    apicall.ReportItemList = new VeROReportItemTypeCollection();

    //Create the item
    VeROReportItemType item = new VeROReportItemType();
    item.ItemID = itemID;
    item.MessageToSeller = "message";
    item.VeROReasonCodeID = 9034;
    item.CopyEmailToRightsOwner = true;
    //Add the item to the collection

    //Add more items if required

    //Make the call   


    public ApiContext GetContext()
       ApiContext context = new ApiContext();

  // Credentials for the call
  context.ApiCredential.ApiAccount.Developer = "devID";
  context.ApiCredential.ApiAccount.Application = "appID";
  context.ApiCredential.ApiAccount.Certificate = "certID";
  context.ApiCredential.eBayToken = "token";

  // Set the URL
  context.SoapApiServerUrl = ""; 

  // 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 = "495";

  return context;




Here is a corresponding XML request:

<?xml version="1.0" encoding="utf-8"?>

<VeROReportItemsRequest xmlns="urn:ebay:apis:eBLBaseComponents">







      <MessageToSeller>Your listing is in violation of copyright, trademark, or other intellectual property rights.</MessageToSeller>








Version Info

The code example above was based on the versions specified below:

API Schema Version 505
.NET SDK Version .NET SDK v495.0 full release

Additional Resources

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