JobnetConceptUri
Revision as of 13:19, 30 July 2021 by old>Tvi (Created page with "== About == Jobs uploadet to JobNet require the parameter JobDetails.JobLocation.OccupationConceptUri to be set to a valid OccupationConceptUri.<br/> A wrapper has been made f...")
About
Jobs uploadet to JobNet require the parameter JobDetails.JobLocation.OccupationConceptUri to be set to a valid OccupationConceptUri.
A wrapper has been made for this, it is part of the JobNet servlet.
Usage
Send a POST or GET-request to the servlet-endpoint "/getOccupations".
If an error occurs, the servlet will return HTTP-CODE 403 or 500 and a message in the body, telling you what was wrong.
If the request is successful a JSONArray wil be returned.
Invalid OccupationConceptUri's will be returned, because of backwards-compatibility. Filter these via the "valid" attribute.
Sample
[
{
"valid": false,
"description": "Borearbejdere (sten) betjener boremaskinen, der borer huller i stenblokke. De behandler granit, sandsten, marmor og skifer i overensstemmelse med specifikationerne.",
"label": "borearbejder - sten",
"uri": "http://data.star.dk/esco/occupation/2fbdc3fa-aeab-4e45-bccf-9421b84c687f"
},
...
]