Website logo

Remove your feedback

Removes feedback the authenticated user has posted against a listing.

URL: https://api.trademe.co.nz/v1/MyTradeMe/Feedback/{feedbackId}.{file_format}
HTTP Method: DELETE
Requires Authentication? Yes
Permission Required: MyTradeMeWrite: Maintain your watchlist, answer questions and post comments.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

feedbackId Integer (required)

The ID of the feedback to remove.

file_format Enumeration (required) The format of the response.
xml Serialize responses into XML.
json Serialize responses into JSON.

Returns

<FeedbackResponse>

Details on whether the operation was successful.

Success Boolean

Indicates whether the operation was successful.

Description String or null

The description of the error, if the operation failed.

StatusCode Enumeration

The status code indicating what went wrong if the operation failed.

Ok 0

Success.

AlreadyPlaced 1

Feedback already posted.

AlreadyEdited 2

Feedback already edited.

ErrorDeleting 3

Error deleting.

MemberNotFound 4

The member could not be found.

NotSelf 5

Cannot give feedback on self.

IncorrectMember 6

The feedback is not for this member.

NotWinner 7

The member did not win the auction.

NotWinnerOffer 8

The member did not win the offer.

DatabaseError 10

There was another database error.

NotSupported 11

The feedback type is not supported.

NoFixedPriceOffer 12

There is not a fixed price offer.

InvalidFeedback 13

The feedback text submitted is not valid.

FeedbackId Integer

If the operation succeeded, the ID of the new feedback.

Example XML Response (switch to JSON)

<FeedbackResponse xmlns="http://api.trademe.co.nz/v1">
  <Success>false</Success>
  <Description>ABC</Description>
  <StatusCode>Ok</StatusCode>
  <FeedbackId>123</FeedbackId>
</FeedbackResponse>

Example JSON Response (switch to XML)

{
  "Success": false,
  "Description": "ABC",
  "StatusCode": 0,
  "FeedbackId": 123
}