Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: mvacs on October 05, 2017, 04:27:02 PM
-
Hey all,
I am new here so if this needs to get moved over to the development page I apologize in advance.
I am developing a service that will consume Stat data from the stat server. The documentation provided by Genesys is fine, but it shows me only being able to directly "query" one object at a time. So I figured I would ask here and see:
Is there a way to pull all defined objects on the Stat Server without having to individually define them on my side?
Thanks!
-
Short answer: No.
Depending on the data you need, you may group objects (e.g. DN Group, Agent Group) and get the stat data for the group (which may or may not be the same data for the individual objects depending on the stat)
-
That is what I was afraid of.
Question part 2 (I haven't gotten this far in the documentation) Is there a way to query what has been defined in the configuration? i.e. Agents etc...
-
By configserver PSDK maybe but you always need to know what you will query.
Enviado de meu E6633 usando Tapatalk
-
Complementing what cavagnaro already said, you can use PSDK to query for all objects of any type (e.g. CfgPersonQuery) on Config Server. There are plenty of examples around the forum (for example, I recall this one: http://www.sggu.com/smf/index.php/topic,9642.msg43669.html#msg43669 )
-
Perfect! Thank you all!!!