curl --request POST \
--url https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filters": [
{
"filter": "custom_property",
"property_name": "yearly_salary",
"property_value": true,
"operator": "gte"
}
],
"weights": [
{
"weight": "skills_match",
"value": 1
}
]
}
'import requests
url = "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses"
payload = {
"filters": [
{
"filter": "custom_property",
"property_name": "yearly_salary",
"property_value": True,
"operator": "gte"
}
],
"weights": [
{
"weight": "skills_match",
"value": 1
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filters: [
{
filter: 'custom_property',
property_name: 'yearly_salary',
property_value: true,
operator: 'gte'
}
],
weights: [{weight: 'skills_match', value: 1}]
})
};
fetch('https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
[
'filter' => 'custom_property',
'property_name' => 'yearly_salary',
'property_value' => true,
'operator' => 'gte'
]
],
'weights' => [
[
'weight' => 'skills_match',
'value' => 1
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses"
payload := strings.NewReader("{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"score": 0.8,
"external_id": "a3903505-eb84-42dc-a79f-5e7b1fe897b7"
}
]
}Get Course recommendations to improve the Skill Profile of an Employee
Courses that are connected through a SkillEvent with the Employee, indicating that the Employee has already taken the Course, are excluded from the recommendations. Additionally, Courses of which the active attribute is set to false are filtered out as well.
curl --request POST \
--url https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filters": [
{
"filter": "custom_property",
"property_name": "yearly_salary",
"property_value": true,
"operator": "gte"
}
],
"weights": [
{
"weight": "skills_match",
"value": 1
}
]
}
'import requests
url = "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses"
payload = {
"filters": [
{
"filter": "custom_property",
"property_name": "yearly_salary",
"property_value": True,
"operator": "gte"
}
],
"weights": [
{
"weight": "skills_match",
"value": 1
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
filters: [
{
filter: 'custom_property',
property_name: 'yearly_salary',
property_value: true,
operator: 'gte'
}
],
weights: [{weight: 'skills_match', value: 1}]
})
};
fetch('https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filters' => [
[
'filter' => 'custom_property',
'property_name' => 'yearly_salary',
'property_value' => true,
'operator' => 'gte'
]
],
'weights' => [
[
'weight' => 'skills_match',
'value' => 1
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses"
payload := strings.NewReader("{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant_name}.{region}.techwolf.ai/employees/{employee_external_id}/recommended_courses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"filters\": [\n {\n \"filter\": \"custom_property\",\n \"property_name\": \"yearly_salary\",\n \"property_value\": true,\n \"operator\": \"gte\"\n }\n ],\n \"weights\": [\n {\n \"weight\": \"skills_match\",\n \"value\": 1\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"score": 0.8,
"external_id": "a3903505-eb84-42dc-a79f-5e7b1fe897b7"
}
]
}Authorizations
Path Parameters
Unique external ID linked to this Employee, consisting of alphanumeric characters, hyphens and underscores. The unique ID in your system, consisting of alphanumeric characters, hyphens and underscores.
1 - 100[a-zA-Z0-9_-]+"a3903505-eb84-42dc-a79f-5e7b1fe897b7"
Query Parameters
The display language used for Skill names. Altering the vocabulary language does not change the Skill Profile; it solely changes the way it is displayed. If not specified, the default language (en_uk) will be used. The en language is an alias for en_uk. IETF BCP 47 language tags (e.g. fr-FR, zh-CN) are also accepted and mapped to their internal equivalents.
Vendor-specific availability: Only the following languages are available for the default TechWolf vocabulary: en, en_uk, en_us, de, fr, nl. The additional languages (es, fr_ca, it, ja, ko, pt_br, zh_cn, zh_tw, sv, fi, da, no) are only available when the request is scoped to the workday vendor (via external_vendor=workday) and the tenant's Workday vocabulary includes them. Use GET /taxonomy/skills/languages to discover the exact set of languages available for a given vendor in your tenant.
en, en_uk, en_us, de, fr, nl, es, fr_ca, it, ja, ko, pt_br, zh_cn, zh_tw, sv, fi, da, no Additional entity attributes that will be included in the response body. This query parameter can be added multiple times to include more attributes. When include entity is used, the response will include the titles and descriptions of the recommended Courses.
custom_properties, entity ["custom_properties", "entity"]
Body
Was this page helpful?