QueueMetrics forum
QueueMetrics => Scripting QueueMetrics => Topic started by: thermal_donkey on January 31, 2014, 01:19:18
-
I'm trying to script gathering reports using Ruby and the "xmlrpc/client" library offer therein. However, the following analyses seem to have invalid XML-RPC codes associated in the documentation:
6.1.14. OK14 - Report Header
6.2.5. OD05 - IVR details (full list)
The former's code matches that of `6.1.13. OK13 - Music On Hold by Agent` exactly, so I'm thinking it's just a typo. The latter's code doesn't match any surrounding codes, but when I make a request using the documented code, I get nil back as a response. Can someone hook me up with the correct codes for these analyses? Thanks!
-
What exactly is the string you are sending QM? might be a typo in the docs....
-
For the '6.1.13. OK13 - Music On Hold by Agent' analysis, I'm passing "OkDO.MOHOk" as the code. The docs give the exact same code for '6.1.14. OK14 - Report Header.'
For the '6.2.5. OD05 - IVR details (full list)' analysis, the given code in the docs is "DetailsDO.CallsIVR," but that returns nothing from the client.
-
That should be OkDO.HDRRpt - I'll have the docs updated.
-
DetailsDO.CallsIVR is correct. Do you see anything in the GUI?
-
On my reports page (after running for them "Today" or something like that) I don't have an IVR Details tab at all. I don't see any of those reports.
-
Also, using that new code OkDO.HDRRpt, I get nil back from the client, same as my other issues. Ideas?
-
Hello, you can test any QM's XAML-RPC fuction with our XML-RPC Broswer ( https://github.com/Loway/QueueMetricsXmlRpcBrowser (https://github.com/Loway/QueueMetricsXmlRpcBrowser) ).
This is a very useful tools that will help you debug your scripts. Just tested OkDO.HDRRpt and it works fine.
Kind Regards
Mirko