Map occupation identifiers from one occupation ontology version to another: "My old ID is X. What is it now?"
from_id is a foc code for versions before the occ_id scheme, otherwise an occ_id.
to_version defaults to the latest published version and cannot be earlier than from_version.
change_type values:
migrated: the ID scheme changed (foc code to occ_id);to_idshas 1 IDsplit: one occupation became multiple;to_idshas 2+ IDsmerged: multiple occupations were consolidated into one;to_idshas 1 IDremoved: the occupation no longer exists;to_idsis emptyunchanged: the ID carries over to the target version;to_idshas the same IDnot_found:from_iddoes not exist infrom_version;to_idsis empty
to_ids is always an array; never assume a scalar. Renamed, description-updated and
reclassified occupations keep their ID and are reported as unchanged.
Occupation ontology versioning
Occupation ontology versions follow MAJOR.MINOR.PATCH, for example 4.0.0.
- Major (e.g. 5.0.0): occupations are added, removed, split or merged, or the ID scheme changes (as foc codes were replaced by occ_ids in 4.0). Occupation IDs you have stored may no longer be valid; use /occupations/lineage to map them to the new version.
- Minor (e.g. 4.1.0): existing occupations change in ways you may rely on. An occupation is renamed, moved in the hierarchy, has a classification field or its common role names changed, or has its description rewritten so its meaning changes. Occupation IDs do not change.
- Patch (e.g. 4.1.1): a correction that does not change what an occupation means, such as a typo, grammar or formatting fix to a description. Occupation names and IDs never change in a patch. Patches are applied automatically and listed in the release notes.
Version parameters take MAJOR.MINOR (e.g. 4.0) and return the latest patch of that version. Responses include the full version in use (e.g. 4.0.3). Where a version parameter is optional, leaving it out uses the latest published version.
ap-southeast-2 ca-central-1 eu-central-1 eu-west-2 ap-southeast-1 us-east-2
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
