Post feedback on a listing
Places feedback on the buyer or seller of an auction.
URL: | https://api.trademe.co.nz/v1/MyTradeMe/Feedback.{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. | ||||
---|---|---|---|---|---|---|
|
POST Data
<FeedbackRequest>
FeedbackType | Enumeration (required) |
The type of feedback given. |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
Text | String (required) |
The text of the feedback. |
||||||||||||
ListingId | Long Integer (optional) |
The ID of the listing this feedback is for. This field is retained for backwards compatibility; please use PurchaseId instead. |
||||||||||||
IsForFpo | Boolean (optional) |
Indicates whether the feedback is for a fixed price offer recipient. This field is retained for backwards compatibility; please use PurchaseId instead. |
||||||||||||
PurchaseId | Integer (optional) |
The ID of the purchase this feedback is for. This field is a replacement for both ListingId and IsForFpo. |
||||||||||||
KoruTradeItemId | String (optional) |
The Koru Trade Item ID for the trade that the feedback is for. It should be used instead of PurchaseId for Koru trades. |
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. |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
FeedbackId | Integer |
If the operation succeeded, the ID of the new feedback. |