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 Id
Size Integer Size
Price Number Price
Duration String or null Duration
AddOns Collection of <AddOn> or null AddOns
Name String or null Name
Price Number or null Price
RequiresExtendedStatus Boolean RequiresExtendedStatus

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
}