Chat > Problems
JSON Report API missmatch V14 - V17
NereliZ:
Hi,
We are using JSON Reprot API with our QueueMetrics. But after upgrade from version 14 to version 17 we spot some issues which is holding us to use version 14. The problem is the change with some API calls we used to use. In all the cases we send a Queues ids to get only information related to queues we are interested in.
1. In earlier version RTRiassunto was returning information about the all queues passed by queues parameter including queues with no active call. Now it looks like it returns only those with active calls.
2. RTAgentsLoggedIn behaves even worse. We have both version running in parallel to make sure we are ready to make the switch. But the RTAgentsLoggedIn returns different number of logged in agents. While the newer version includes some other agents from other queues and field on_queues populated with the search value, so where is no way to trace which agent belongs to which queue.
It looks more like it completely ignores queues parameter or use it in some kind of different way.
mirkox:
Hi NereliZ,
please send us the call to the API so that we can test locally
Kind Regards
Mirko
NereliZ:
Hi, thanks for quick response.
1. API Call: curl -X GET -H "Content-Type: application/json" --user "username:password" "https://exmaple.com:443/queuemetrics/QmRealtime/jsonStatsApi.do?queues=x1|x2|x3&block=RealtimeDO.RTRiassunto"
2. API Call: curl -X GET -H "Content-Type: application/json" --user "username:password" "https://example.com:443/queuemetrics/QmRealtime/jsonStatsApi.do?queues=x1|x2|x3&block=RealtimeDO.RTAgentsLoggedIn"
These API calls in question. Sorry forgot to include in my question.
mirkox:
Hi NereliZ,
does setting the following in the configuration help?
realtime.members_only=true
realtime.all_subqueues=true
NereliZ:
Hi,
That did helped. I was going round and round via configs it was bit confusing as they all mainly for the panel and these to not mention API. Anyway big part of the problem solved. But it still return onqueue differently form older version. Just populate field with search query.
Thanks,
Nerijus Barauskas
Navigation
[0] Message Index
[#] Next page
Go to full version