A core feature of Interacts people directory functionality is the ability to search for people using their registered expertise and interests, such that, for example, you can search for all people that speak French and have an interest in Skiing. Often the relevant expertise is stored or assigned in an external situation such as an LMS.
With the Skill API the LMS, or any other system, can now assign expertise and/or interests to a persons profile automatically.
In order to assign an expertise or an interest, you must first create a profile source as described in the General Profile Sources article. Once this is created then assigning a skill is simply a case of POSTing the name of the skill to the relevant URL. The Id of the person to assign the skill to is specified in the URL as shown below.
In the example shown above, the 'domainId' parameter refers to the Id of the profile source, and 'personId' refers to the Interact identifier for the relevant person's profile.
In order to assign an item of expertise or an interest to a profile, the expertise MUST exist as an option in Interact before calling the API.
Additionally, using the same API endpoint you can remove an item of expertise or an interest. The API call is the same, however, instead of using a POST verb, you should use a DELETE verb.
Updated almost 4 years ago