Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: genesyslearner on February 27, 2019, 08:07:49 AM

Title: Fetch agent details from IRD using agent EmployeeID
Post by: genesyslearner on February 27, 2019, 08:07:49 AM
Hi All,

Is there a possible way to fetch agent skills using IRD?
I have employee ID of the agent and i would like to fetch the list of skills of that particular agent in IRD.


Thanks
Title: Re: Fetch agent details from IRD using agent EmployeeID
Post by: cavagnaro on February 27, 2019, 12:00:23 PM
[font=calibri][/font][code]


AgentDataCfg =AgentProfile[UData['RTargetAgentSelected']]


varName = Cat[KVListGetStringValue[AgentDataCfg,'firstname'],' ',KVListGetStringValue[AgentDataCfg,'lastname']]


[/code][font=calibri][/font]
[font=Calibri][/font]
[font=Calibri][/size][size=1pt]Here is a sample on how to get Last Name and First Name, skills info should be there too, just adapt it to your needs.[/size][/font]
[font=Calibri][/size][size=1pt]Of course you need to check URS logs to fully understand what is returned[/size][/font]
[font=Calibri][/size][/font]