GET https://{APIDOMAIN}/api-v1/occupations/depth/{INT}
INT must be a number between 0 and 3 (inclusive). Omitting (or using an otherwise invalid) INT will cause PfP to assume INT == 0.
Returns a partial list of occupations to the depth specified by INT , where a depth of 0 returns the first level of depth, and a level of 3 delivers the full depth of results.
Example shown here for INT = 0.
{
"lang": "en_GB",
"data": [
{
"code": "0",
"name": "Armed forces occupations"
},
{
"code": "1",
"name": "Managers"
},
{
"code": "2",
"name": "Professionals"
},
{
"code": "3",
"name": "Technicians and associate professionals"
},
{
"code": "4",
"name": "Clerical support workers"
},
{
"code": "5",
"name": "Service and sales workers"
},
{
"code": "6",
"name": "Skilled agricultural, forestry and fishery workers"
},
{
"code": "7",
"name": "Craft and related trades workers"
},
{
"code": "8",
"name": "Plant and machine operators, and assemblers"
},
{
"code": "9",
"name": "Elementary occupations"
}
]
}