Website logo

Retrieve category tree last modification date

Returns the date the category tree was last changed. You can use this information to help decide whether you need to redownload the category tree.

This API is deprecated in favour of E-Tags.

URL: https://api.trademe.co.nz/v1/Categories/lastupdated.{file_format}
HTTP Method: GET
Requires Authentication? No
Permission Required: Public
Supported Formats: XML, JSON
Rate Limited? No

URL parameters

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

Returns

<CatalogueUpdate>

LastUpdated DateTime

The date the catalogue was last changed.

Example XML Response (switch to JSON)

<CatalogueUpdate xmlns="http://api.trademe.co.nz/v1">
  <LastUpdated>2018-01-01T00:00:00Z</LastUpdated>
</CatalogueUpdate>

Example JSON Response (switch to XML)

{
  "LastUpdated": "\/Date(1514764800)\/"
}