Retrieve questions for a listing
Retrieves the list of questions (and associated answers) for a listing.
URL: | https://api.trademe.co.nz/v1/listings/{listingId}/questions.{file_format} |
---|---|
HTTP Method: | GET |
Requires Authentication? | Yes |
Permission Required: | None |
Supported Formats: | XML, JSON |
Rate Limited? | Yes |
URL parameters
listingId | Integer (required) |
The ID of the listing. |
||||
---|---|---|---|---|---|---|
file_format | Enumeration (required) | The format of the response. | ||||
|
Query String parameters
page | Integer (optional) |
The page number of the set of results to return, starting from 1. Defaults to 1. |
---|---|---|
rows | Integer (optional) |
The page size; also the maximum number of questions to return. Defaults to 10. |
Returns
<Questions>
A list of questions and answers.
TotalCount | Integer | TotalCount | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page | Integer | Page | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PageSize | Integer | PageSize | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
List | Collection of <Question> or null | InnerList | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|