Website logo

Retrieve DVD IDs

Returns a list of DVD catalogue ID numbers. You can use this list to validate the catalogue ID before listing a DVD. These ID numbers don't change very often so you should cache them and only periodically refresh them.

URL: https://api.trademe.co.nz/v1/DvdValidation.{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

Collection of <DvdValidation>

A list containing the IDs of all DVD titles.

DvdId Integer

The ID of the DVD.

Example XML Response (switch to JSON)

<DvdValidations xmlns="http://api.trademe.co.nz/v1">
  <DvdValidation>
    <DvdId>123</DvdId>
  </DvdValidation>
  <DvdValidation>
    <DvdId>123</DvdId>
  </DvdValidation>
</DvdValidations>

Example JSON Response (switch to XML)

[
  {
    "DvdId": 123
  },
  {
    "DvdId": 123
  }
]