Official comment
Hi Hkhurshudyan,
In order to get all skills you can query the Skill entity:
GET: ~/data/entityQuery?typeName=Skill&fields=Name,Description
In order to get skills for all users you can query the SkillLink entity:
GET: ~/data/entityQuery?typeName=SkillLink&fields=Container,Container.Name,Member,Member.Name
If you want to add new skill to the system you can add it like any other entity:
PUT: ~/data/objects/Skill
{
"Name":"My new skill"
}
If you want to assign the skill to the user you can add a SkillLink like any other entity:
PUT: ~/data/objects/SkillLink
{
"Container":"/Skill/577fbd79-81b9-469f-973c-8e8aabc6a35b",
"Member":"/User/12507b87-f092-4c47-8002-680f8780424c"
}
Let me know if it helps.
Regards.
Comment actions