/
Retrieving information about a specific agent

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)


Retrieving information about a specific agent

The following steps could be used to information about a known agent:

  1. Open an API session
  2. Send the request
  3. Inspect the result
  4. 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 resp = client.GetAgent(_sessionId, 88888);
if (resp == null)
{
Console.WriteLine("No response received");
return;
}
if (resp.ErrorCode != 0)
{
Console.WriteLine("Error: {0}", resp.ErrorCode);
return;
}
var a = resp.AgentInfo;
Console.WriteLine("Agent: {0} - {1} ({2} {3}).", a.Id, a.Username, a.FirstName, a.LastName);

Related content

Retrieving the list of agents
Retrieving the list of agents
More like this
Retrieving profile information for a specific agent
Retrieving profile information for a specific agent
More like this
Retrieving the list of active agents
Retrieving the list of active agents
More like this
Retrieving individual skills for a specific agent
Retrieving individual skills for a specific agent
More like this
Introduction
More like this
Retrieving combined skills for a specific agent
Retrieving combined skills for a specific agent
More like this

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)