Answer a question on a listing
Post a response to a specific question on a listing. Only available to the seller of the listing. The member who asked the question will be notified.
URL: | https://api.trademe.co.nz/v1/listings/{listingId}/questions/{questionId}/answerquestion.{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
listingId | Integer (required) |
The ID of the listing containing the question. |
||||
---|---|---|---|---|---|---|
questionId | Integer (required) |
The ID of the question being answered. |
||||
file_format | Enumeration (required) | The format of the response. | ||||
|
POST Data
<ListingAnswerQuestion>
answer | String (required) | Answer |
---|
Returns
<Question>
A ListingQuestion that contains the question and the answer.
ListingId | Integer | ListingId | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ListingQuestionId | Integer | ListingQuestionId | ||||||||||||||||||||||||||||||||||
Comment | String or null | Comment | ||||||||||||||||||||||||||||||||||
CommentDate | DateTime | CommentDate | ||||||||||||||||||||||||||||||||||
Answer | String or null | Answer | ||||||||||||||||||||||||||||||||||
AnswerDate | DateTime | AnswerDate | ||||||||||||||||||||||||||||||||||
IsSellerComment | Boolean | IsSellerComment | ||||||||||||||||||||||||||||||||||
AskingMember | <Member> or null | AskingMember | ||||||||||||||||||||||||||||||||||
|