Genesys CTI User Forum > Genesys-related Development

Retrieving Specific Agents using one filter

(1/1)

monasterio:
Any thoughts on how to retrieve multiple agents using a single filter:

I hoped the following would have worked but it did not.

[code]
KeyValueCollection filter = new KeyValueCollection();
filter.Add("dbid", 163);
filter.Add("dbid", 1667);
filter.Add("state", 1);
RequestReadObjects requestReadObjects = RequestReadObjects.Create();
requestReadObjects.ObjectType = (int)CfgObjectType.CFGPerson;
requestReadObjects.Filter = filter;
moConfService.Protocol.Send(requestReadObjects);
[/code]

This will return only the first agent.

cavagnaro:
Only one dbid can be used

Enviado de meu E6633 usando Tapatalk

Navigation

[0] Message Index

Go to full version