Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)
Updating individual skills for a specific agent
The following steps could be used to information about a known agent:
- Open an API session
- Send the request to retrieve the current individual skills
- Inspect the result
- Modify the individual skills as needed
- Send the request to update the individual skills
- Inspect the result
- Close the API session
The C# code below represents the above steps:
/// assuming a session is already opened, and the ID of that session is stored in the _sessionId variable
var client = new AgentProfileClient();
var getResp = client.GetIndividualSkillset(_sessionId, 88888);
if (getResp == null)
{
Console.WriteLine("No response received");
return;
}
if (getResp.ErrorCode != 0)
{
Console.WriteLine("Error: {0}", getResp.ErrorCode);
return;
}
var oldSkillset = getResp.Skillset;
if (oldSkillset.Length > 0)
{
// apply any logic to change the skill set, in this case we are just removing the very first entry from the list
var newSkillset = oldSkillset.ToList<AgentProfile.AgentSkill>();
newSkillset.RemoveAt(0);
// update the skills
var updateResp = client.UpdateIndividualSkillset(_sessionId, 88888, newSkillset.ToArray(), true);
}
Since July 6, 2023, Atlassian has no longer been used for Release Notes or knowledge base articles.
* Find Release Notes here (https://support.mycontactcenter.net/app/articles/detail/a_id/23378/) and articles here (https://support.mycontactcenter.net/app/main).
* Authenticated Partners can access content here (https://support.mycontactcenter.net/cc/sso/authenticator/oauth/authorize/imcontrolpanel?redirect=main&source=mycontactcenter)