QueueMetrics forum

QueueMetrics => Scripting QueueMetrics => Topic started by: cuban_cigar on November 05, 2012, 23:03:51

Title: XML-RPC - Needed: simple list of agents, or any way to pull data
Post by: cuban_cigar on November 05, 2012, 23:03:51
I confess that I have been struggling with understanding the XML-RPC and QM. It has been difficult to learn simple things such as pulling data from it.
What I would like to be able to do is this:

1) Pull a simple list of the agents

2) Pull agent status

3) Pull calls waiting



Anyone have any idea how to do it?


Thanks again
Title: Re: XML-RPC - Needed: simple list of agents, or any way to pull data
Post by: QueueMetrics on November 06, 2012, 12:12:53
So you'd basically want to pull the live calls and the active agents from the agent's page, correct?

You would basically be calling the QM.realtime() method.

http://queuemetrics.com/manuals/QM_XML-RPC_manual-chunked/ar01s03.html#_the_method_qm_realtime

All examples on the manual do not look like code monstrosities - which language are you using?
Title: Re: XML-RPC - Needed: simple list of agents, or any way to pull data
Post by: RonCB on October 18, 2013, 16:20:14
Hi.

Is there also a possibillity to get the group or an agentlogin number (not ext number)  by xml-rpc to sort by group or so agentnumber range.
I have to separate the agents by team/group to show on a dashboard (flantel).


Ron
Title: Re: XML-RPC - Needed: simple list of agents, or any way to pull data
Post by: QueueMetrics on October 21, 2013, 11:15:36
You get this by querying the agent config in XML-RPC