Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: oceanblue on August 05, 2020, 06:37:18 PM
-
Hello All, I need to pull some crucial contact centre resource/agent related real time stats and display them somewhere, so the execs can view it on their mobile devices.
Has anybody done something along this lines already?What's the best way to go about it?
Can Pulse rest API's be used? What are other options out there that can be considered for this matter?
Thanks in advance.
Cheers,
-
You could user Pulse REST API or build your own API based on Platform SDK communicating with Stat Server
-
Hi! We use GMS API for that purpose.
-
Hello @marmota - would you be able to share some details on that?
Thanks,
-
Sure. Do you have any specific questions?
In general, we base on docs: https://docs.genesys.com/Documentation/GMS/latest/API/Welcome
API is rather simple - casual REST POST (sometimes GET, but if we talk about StatServer metrics the are usually POST) requests to:
[list]
[li].../genesys/1/internal_statistic[/li]
[/list]
with body such as:
[list]
[li]objectId=7702@SIPSwitch&objectType=RoutePoint&tenant=Citilink&metric=AverAnswCallTime
[/li]
[/list]
where you can define what metrics you want to get from StatServer.
Answer is in JSON.
-
Thanks, marmota! We were thinking the Pulse restful API to get the snapshot data using a Get method. But, the GMS approach is good too if you know the particular object that you want to pull stat from. Would that be ok if I reach out with any questions on this?
-
Yep, please ask =)