from the below code i can retrieve workbin but unable to retrieve interaction in it.
CfgScriptQuery csq = new CfgScriptQuery();
csq.ScriptType = CfgScriptType.CFGInteractionWorkBin;
ICollection cs = confservice.RetrieveMultipleObjects(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:
RequestPull req = RequestPull.create();
KeyValueCollection pullParameters = new KeyValueCollection();
pullParameters.addString("InteractionId", interactionId);
req.setPullParameters(pullParameters);
req.setViewId("_system_");
Message ret = interactionServerProtocol.request(req);