Hello Docebo experts :)
I am having an issue with using the API to set occupation and skills for multiple users and would really appreciate your help. I don’t understand what the “canonical” variables stand for and where I can obtain them from.
Here is my attempt, which sadly resulted in an error. I tried to assign a skill “Effective Communication” to a particular user.
{
"occupation": {
"code": "esco_occupation_52df9d56-efd4-48d0-ad93-59231943fc4c", (i got the code by using “Retrieve The Occupations List From Workforce Service” on a user who already has a skill “Effective Communication”)
"name": "3D Animator",
"canonical_code": "string", (I have no idea what to put here)
"canonical_name": "string", (I have no idea what to put here either)
"is_custom": false (since this occupation was already set up by default by Docebo)
},
"skills":
{
"code": "added_skill_effective-communication", (retrieved it from a user who already has this skill using API)
"name": "Effective Communication", (that’s the name of the skill)
"expertise": 1,
"is_custom": true, (it is custom)
"is_suggested": true (not sure what it means and if I should change it to “false”)
}
]
}
Any suggestions on how to proceed will be hugely appreciated!
All the best,
Mateusz