Retrieves a list of curated promotions
Retrieves a list of curated promotions, where each promotion links to a search.
| URL: | https://api.trademe.co.nz/v1/SearchPromotions.{file_format} |
|---|---|
| HTTP Method: | GET |
| Requires Authentication? | Yes |
| Permission Required: | None |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| file_format | Enumeration (required) | The format of the response. | ||||
|---|---|---|---|---|---|---|
|
||||||
Returns
Collection of <SearchPromotion>
A list of curated promotions.
| Title | String or null |
The title of the promotion. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ImageUrl | String or null |
The URL for the photo. The aspect ratio is currently required to be 1.376:1. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
| SearchApi | Enumeration |
The search API endpoint that should be used in conjunction with the SearchString property to build up a search URL. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
| SearchString | String or null |
A string containing the search parameters. This is formatted like a HTTP query string (but without a leading question mark) and can include any of the parameters accepted by the search APIs. |
|||||||||||||||||||||||||||||||||||||||||||||||||||