Website logo

Retrieve details about a job pack

Retrieves fee information about a specific Job Pack

URL: https://api.trademe.co.nz/v1/Jobs/Payments/JobPacks/{jobPackId}.{file_format}
HTTP Method: GET
Requires Authentication? Yes
Permission Required: MyTradeMeRead: Read your membership & listing data.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

jobPackId Integer (required)

The id of the Job Pack

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

Returns

<JobPack>

A JobPack containing details the Job Pack

Id Integer

The id of the product

Size Integer

The number of listings provided by the product

Price Number

The cost of the product excluding GST

Duration String or null

A description of the duration of the product

AddOns Collection of <AddOn> or null

A collection of add-ons available for this product

Name String or null

The name of the add-on

Price Number or null

The price of an add-on

RequiresExtendedStatus Boolean

Requires the purchaser to be a agent with extended job pack status enabled

Example XML Response (switch to JSON)

<JobPack xmlns="http://api.trademe.co.nz/v1">
  <Id>123</Id>
  <Size>123</Size>
  <Price>123.0</Price>
  <Duration>ABC</Duration>
  <AddOns>
    <AddOn>
      <Name>ABC</Name>
      <Price>123.0</Price>
    </AddOn>
    <AddOn>
      <Name>ABC</Name>
      <Price>123.0</Price>
    </AddOn>
  </AddOns>
  <RequiresExtendedStatus>false</RequiresExtendedStatus>
</JobPack>

Example JSON Response (switch to XML)

{
  "Id": 123,
  "Size": 123,
  "Price": 123.0,
  "Duration": "ABC",
  "AddOns": [
    {
      "Name": "ABC",
      "Price": 123.0
    },
    {
      "Name": "ABC",
      "Price": 123.0
    }
  ],
  "RequiresExtendedStatus": false
}