Website logo

Respond to feedback

Replies to feedback placed against a listing where the authenticated user was the seller.

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

URL parameters

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

POST Data

<FeedbackReplyRequest>

FeedbackId Integer (required)

The ID of the feedback to reply to.

Text String (required)

The text of the reply.

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 Request (switch to JSON)

<FeedbackReplyRequest xmlns="http://api.trademe.co.nz/v1">
  <FeedbackId>123</FeedbackId>
  <Text>ABC</Text>
</FeedbackReplyRequest>

Example JSON Request (switch to XML)

{
  "FeedbackId": 123,
  "Text": "ABC"
}

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
}