Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started by: Naveen Kancharla on June 17, 2016, 05:41:05 AM
-
from the below code i can retrieve workbin but unable to retrieve interaction in it.
CfgScriptQuery csq = new CfgScriptQuery();
csq.ScriptType = CfgScriptType.CFGInteractionWorkBin;
ICollection<CfgScript> cs = confservice.RetrieveMultipleObjects<CfgScript>(csq);
kindly suggest some psdk with sample example.
-
Your code just retreieve the configuration objects, but not work with UCS/IXN at all.
-
I think what you're looking for is RequestPull (com.genesyslab.platform.openmedia.protocol.interactionservice.requests.interactionmanagement.RequestPull).
Here's an example of how to use it:
[code]
RequestPull req = RequestPull.create();
KeyValueCollection pullParameters = new KeyValueCollection();
pullParameters.addString("InteractionId", interactionId);
req.setPullParameters(pullParameters);
req.setViewId("_system_");
Message ret = interactionServerProtocol.request(req);[/code]