Author Topic: XML-RPC - Needed: simple list of agents, or any way to pull data  (Read 3305 times)

cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
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
« Last Edit: November 07, 2012, 05:42:57 by cuban_cigar »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: XML-RPC - Needed: simple list of agents, or any way to pull data
« Reply #1 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?

RonCB

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
    • Email
Re: XML-RPC - Needed: simple list of agents, or any way to pull data
« Reply #2 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
« Last Edit: October 18, 2013, 23:13:19 by RonCB »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: XML-RPC - Needed: simple list of agents, or any way to pull data
« Reply #3 on: October 21, 2013, 11:15:36 »
You get this by querying the agent config in XML-RPC