Retrieve jobs categories
This is a convenience method that returns jobs categories from Trade Me Jobs.
| URL: | https://api.trademe.co.nz/v1/categories/jobs.{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. | ||||
|---|---|---|---|---|---|---|
|
||||||
Query String parameters
| region | Integer (optional) |
The ID of the region used to filter listing counts. Only applicable if with_counts is true. |
|---|---|---|
| with_counts | Boolean (optional) |
Indicates whether to include the number of listings in each category. Defaults to false. |
Returns
Collection of <JobCategory>
A category containing all job categories.
| Name | String or null |
The name of the job category. |
|
|---|---|---|---|
| Code | String or null |
The code number of the job category. |
|
| SubCategories | Collection of <JobCategory> or null |
A list of subcategories. |
|
| (This type has already been defined) | |||