This feature allows an admin to add or remove skills to and from a group of UCCX agents.
GET http://[host-proxy]/api/view/AddUccxSkillsToAgents/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"add_skills": {
"items": {
"type": "object",
"properties": {
"competencelevel": {
"default": "5",
"choices": [
{
"value": "1",
"title": "1"
},
{
"value": "2",
"title": "2"
},
{
"value": "3",
"title": "3"
},
{
"value": "4",
"title": "4"
},
{
"value": "5",
"title": "5"
},
{
"value": "6",
"title": "6"
},
{
"value": "7",
"title": "7"
},
{
"value": "8",
"title": "8"
},
{
"value": "9",
"title": "9"
},
{
"value": "10",
"title": "10"
}
],
"type": "string",
"description": "Agent's competency level for this skill.",
"title": "Competence Level"
},
"skillName": {
"type": "string",
"description": "Skill name.",
"title": "Skill"
}
}
},
"type": "array",
"description": "Skills to add to the selected agents. Agents will retain existing skills and competency levels will be updated for matching skills.",
"title": "Add Skills"
},
"remove_skills": {
"items": {
"type": "object",
"properties": {
"skillName": {
"type": "string",
"description": "Skill name.",
"title": "Skill"
}
}
},
"type": "array",
"description": "Skills to remove from the selected agents.",
"title": "Remove Skills"
},
"agents": {
"items": {
"type": "string"
},
"required": true,
"type": "array",
"description": "Agents to re-skill.",
"title": "Agents"
}
},
"schema_version": "1.0.0"
}