ā09-08-2014 05:33 AM - edited ā03-14-2019 01:51 PM
Hey.
working with the JMS (Java Message Service) for live data reporting on UCCX 10.5.
Does anybody know where to find documentation on this service (Can't fint the TeamName/Id on resources).
Best regards
Thomas Johannesen
ā09-08-2014 11:59 PM
Hi Thomas
JMS is new to me - can you describe what you are doing in a little more detail, and particularly how it's interfacing to UCCX?
Your reference to team/name/id on resources sounds like a query about the database structure which I know quite well, if you can describe what you are doing more I can probably help.
Aaron
ā09-09-2014 12:10 AM
Hej Aaron
JMS is cisco new live data interface ( http://<UCCX IP>:9080/realtime/schema ), that the cisco FINESSE is using for the live reports .
I'm using this interface for wallboard data source. In the FINESSE i can se a "TEAM PERFORMACE REPORT", and that is using the team for stats on that, but I can't find anywhere in the JMs that is showing the teamName.
I know have to get this from the DB, but I will try to only use the JMS for wallboard (because that is what the JMS is made for)
Cisco documentation is only for the RESt API on historical data. I need one for the JMs service
Best regards
Thomas
ā09-09-2014 12:10 AM
ā09-09-2014 02:02 AM
Thomas, would you mind to post what you get by calling one of these URL's? Is it a binary stream? A plaintext document? An XML, perhaps?
G.
ā09-09-2014 02:04 AM
This is the VoiceIAQStats:
The output is xml/json
[
{
"id": "ICD3",
"operation": "UPDATE",
"VoiceIAQStats": {
"id": 3,
"esdId": 3,
"esdName": "ICD3",
"nResourcesLoggedIn": 0,
"nTotalContacts": 0,
"nHandledContacts": 0,
"nAbandonedContacts": 0,
"nDequeuedContacts": 0,
"avgTalkDuration": 0,
"longestTalkDuration": 0,
"avgWaitDuration": 0,
"longestWaitDuration": 0,
"longestCurrentlyWaitingDuration": 0,
"nAvailResources": 0,
"nInSessionResources": 0,
"nUnavailResources": 0,
"nWorkResources": 0,
"nSelectedResources": 0,
"nWaitingContacts": 0,
"nAverageHandlingTimeLowThreshold": 0,
"nAverageHandlingTimeHighThreshold": 0,
"nAverageWaitingTimeLowThreshold": 0,
"nAverageWaitingTimeHighThreshold": 0,
"nAbandonedCallsLowThreshold": 0,
"nAbandonedCallsHighThreshold": 0,
"nDequeuedCallsLowThreshold": 0,
"nDequeuedCallsHighThreshold": 0,
"nSLAPercentageLowThreshold": 0,
"nSLAPercentageHighThreshold": 0
}
},
{
"id": "ICD2",
"operation": "UPDATE",
"VoiceIAQStats": {
"id": 2,
"esdId": 2,
"esdName": "ICD2",
"nResourcesLoggedIn": 0,
"nTotalContacts": 0,
"nHandledContacts": 0,
"nAbandonedContacts": 0,
"nDequeuedContacts": 0,
"avgTalkDuration": 0,
"longestTalkDuration": 0,
"avgWaitDuration": 0,
"longestWaitDuration": 0,
"longestCurrentlyWaitingDuration": 0,
"nAvailResources": 0,
"nInSessionResources": 0,
"nUnavailResources": 0,
"nWorkResources": 0,
"nSelectedResources": 0,
"nWaitingContacts": 0,
"nAverageHandlingTimeLowThreshold": 0,
"nAverageHandlingTimeHighThreshold": 0,
"nAverageWaitingTimeLowThreshold": 0,
"nAverageWaitingTimeHighThreshold": 0,
"nAbandonedCallsLowThreshold": 0,
"nAbandonedCallsHighThreshold": 0,
"nDequeuedCallsLowThreshold": 0,
"nDequeuedCallsHighThreshold": 0,
"nSLAPercentageLowThreshold": 0,
"nSLAPercentageHighThreshold": 0
}
},
{
"id": "ICD1",
"operation": "UPDATE",
"VoiceIAQStats": {
"id": 1,
"esdId": 1,
"esdName": "ICD1",
"nResourcesLoggedIn": 0,
"nTotalContacts": 0,
"nHandledContacts": 0,
"nAbandonedContacts": 0,
"nDequeuedContacts": 0,
"avgTalkDuration": 0,
"longestTalkDuration": 0,
"avgWaitDuration": 0,
"longestWaitDuration": 0,
"longestCurrentlyWaitingDuration": 0,
"nAvailResources": 0,
"nInSessionResources": 0,
"nUnavailResources": 0,
"nWorkResources": 0,
"nSelectedResources": 0,
"nWaitingContacts": 0,
"nAverageHandlingTimeLowThreshold": 0,
"nAverageHandlingTimeHighThreshold": 0,
"nAverageWaitingTimeLowThreshold": 0,
"nAverageWaitingTimeHighThreshold": 0,
"nAbandonedCallsLowThreshold": 0,
"nAbandonedCallsHighThreshold": 0,
"nDequeuedCallsLowThreshold": 0,
"nDequeuedCallsHighThreshold": 0,
"nSLAPercentageLowThreshold": 0,
"nSLAPercentageHighThreshold": 0
}
}
]
ā09-09-2014 02:06 AM
You can use the postman rest client from chrome
https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm
ā09-09-2014 02:11 AM
Er... this is not JMS, this is JSON (although, to be absolutely correct, I must say that technically, nothing prevents two programs to exchange information in a JSON document over a JMS queue).
I am afraid this is not a public API. I will ask one of my Cisco contacts about this (I did not find any document on the topic but this might be due to my shortsightedness).
G.
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