Get all Occupations
List all the occupations. There are 2 structures for occupations depending on their configuration in the infoodle system. 1) A single level list of occupations. See response 200 2) A 2 level list with categories, and then occupations within the categories. See response 201
GET
/occupation/list
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/occupation/list \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": 44,
"value": "Teacher"
}
Response examples (201)
[
{
"category": "Teachers",
"items": [
{
"id": 44,
"value": "Maths Teacher"
}
]
}
]