03-24-2014 11:37 AM
Hi,
I'm trying to use the api (Get queue),
but when I call the URI I get the response -1
The USER logged and subscribed on the queue have two roles Agent and Supervisor,
What is the problem?
- <Queue>
<name>NAME</name>
<statistics>
<agentsNotReady>-1</agentsNotReady>
<agentsReady>-1</agentsReady>
<agentsTalkingInbound>-1</agentsTalkingInbound>
<agentsTalkingInternal>-1</agentsTalkingInternal>
<agentsTalkingOutbound>-1</agentsTalkingOutbound>
<agentsWrapUpNotReady>-1</agentsWrapUpNotReady>
<agentsWrapUpReady>-1</agentsWrapUpReady>
<callsInQueue>-1</callsInQueue>
<startTimeOfLongestCallInQueue />
</statistics>
<uri>/finesse/api/Queue/14</uri>
</Queue>
Best Regards Kandy
Solved! Go to Solution.
05-07-2014 08:25 AM
I just realized you said you were using UCCX (not UCCE)
Per the Finesse WebServices Developer Guide section Queue - Get queue
In a coresident Finesse deployment with Unified CCX, these fields are not updated and the value for each field is -1.
03-24-2014 12:32 PM
Are you able to see valid Queue results in the Queue statistics gadget?
Probably you are getting the default queue. Did you try getting all the Queues with
http://
03-24-2014 01:54 PM
Hi
I calling by this URI:
http://XX.XX.XX.XX:8082/finesse/api/Queue/14
Where 14 is the queue I need to get statics
Best Regards
03-24-2014 02:14 PM
Do you see that queue 14 in the Queue Stats gadget in the Finesse desktop?
03-24-2014 02:22 PM
Per the description of the GetQueue API in the Finesse WebServices Developer Guide
Use this API to access statistics for a queue that is assigned to agents or supervisors.
If you use this API on a queue that is not assigned to any agents or supervisors,
the response contains a value of -1 for numeric statistics and is empty for string statistics
03-25-2014 02:03 AM
Hi Dlender
yes, on the documentation says that a -1 means that queue not assigned to agent or supervisor, but the queue really is assigned to this user.
The user has two roles supervisor and agent, is assigned to a team and assigned to this queue, in fact is receiving call to this queue.
I don't found in UCCX configuration any option to revise, for me is all right all the configuration but the -1 is present.
Any idea?
Best Regards
03-25-2014 09:47 AM
If the Queue is assigned to the Supervisor then you should see the Queue in the Queue stats gadget in the Supervisor Desktop.
Do you see the Queue there? If not, then this is a configuration issue and the TAC should be able to assist you (if entitled).
05-07-2014 05:25 AM
Hi Dlender
On the supervisor Desktop, the stats works fine, but on the api still appears -1 on all data
Any Ideas?
05-07-2014 07:07 AM
Can you post a screen shot of the Supervisor queue statistics showing the Queue number as well as the results of the REST API call. This does not make sense to me. The Supervisor desktop uses the REST API just as you are doing. Also can you look at the console in the debugger for the GET on the Queue and see if it is formed the same way as you are requesting via the REST API?
05-07-2014 07:15 AM
Also, are you specifying credentials for the Supervisor on the REST request? If so, did you sign in the Supervisor before making the request?
05-07-2014 07:22 AM
05-07-2014 07:37 AM
Also try http://XX.XX.XX.XX:8082/finesse/api/User/<id>/Queues where <id> is the Supervisor's id.
05-07-2014 08:25 AM
I just realized you said you were using UCCX (not UCCE)
Per the Finesse WebServices Developer Guide section Queue - Get queue
In a coresident Finesse deployment with Unified CCX, these fields are not updated and the value for each field is -1.
05-07-2014 09:32 AM
Hi Dlender
Thanks for your help
I attached the screens shots
I don't understand because in the finesse getQueue shows -1.
Best Regards Kandy
05-07-2014 09:41 AM
See my previous response. Get Queues always returns -1 for UCCX. The Voice CSQ Summary Report is a LiveDataGadget so Finesse is pulling the info from CUIC. This is not available to REST API.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide