Requesting all occupations fields

To request all concepts of type occupation-field from the REST API, start by taking a look at the Swagger page:

https://taxonomy.api.jobtechdev.se/v1/taxonomy/swagger-ui/index.html

The /v1/taxonomy/main/concepts endpoints can be used to obtain concepts of a specific type. Click on the Try it out button and fill in the type parameter to be occupation-field. Then click Execute. You will obtain a list of occupation fields from the latest version, such as

{
  "taxonomy/type": "occupation-field",
  "taxonomy/definition": "Exempel på arbetsuppgifter: \r\n\r\nKlipper och behandlar hår.\r\n\r\nUtför ansikts-, spa- och kroppsbehandlingar eller fotvård. \r\n\r\nMasserar kroppens mjukdelsvävnader.",
  "taxonomy/id": "Uuf1_GMh_Uvw",
  "taxonomy/preferred-label": "Kropps- och skönhetsvård"
}

The corresponding URL is https://taxonomy.api.jobtechdev.se/v1/taxonomy/main/concepts?type=occupation-field .

In order to obtain the occupation fields for a specific version, set the version parameter to the version you want, e.g. 22. The corresponding URL is https://taxonomy.api.jobtechdev.se/v1/taxonomy/main/concepts?type=occupation-field&version=22.