1

I am attempting to set seller feedback through the eBay Trading API, LeaveFeedbackCall. I am using the .NET SDK and am having difficulty assigning the feedback details. In the API description this is an array SelerItemRatingDetailsArray that holds ItemRatingDetails with two items, Rating (Int) and RatingDetail (FeedbackRatingDetailCodeType). The line of code I am using that is throwing an error follows.

apicall.SellerItemRatingDetailArrayList.Item("Communication").Rating = iCommunication.

iCommunication is an integer variable holding a value between 0 and 4.

Any assistance would be appreciated.

Cray
  • 2,774
  • 7
  • 22
  • 32
DougM
  • 109
  • 3
  • 16

1 Answers1

0

I think you need this code instead.

ItemRatingDetailsType itemRateing = new ItemRatingDetailsType();
itemRateing.RatingDetail = FeedbackRatingDetailCodeType.Communication;
itemRateing.Rateing = iCommunication;
apicall.SellerItemRatingDetailArrayList.Add( itemRateing);

C# syntax. Basically you can not use the SellerItemRatingDetailArrayList like you were trying to.

Link: DetailedSellerRatings and LeaveFeedbackCallMembers

SH-
  • 1,642
  • 10
  • 13