PureEngage On-Premises

 View Only

Sign Up

  • 1.  How can i get Record Information from Outbound Call using SDK code

    Posted 10-22-2014 18:21
    Hi everybody ,  i am using Genesyslab.Desktop.Modules.Core.Model.Interactions  library  to get data from Outbound call (Record Information) ,  more especific , GetAttachedData() function .

    When i execute my code ,  this fuction return Null value:

            public void Create()
            {
                Model.Case = (Context as IDictionary<string, object>).TryGetValue("Case") as ICase;

                IDictionary<string, object> contextDictionary = (Context as IDictionary<string, object>);
                object caseObject;
                if (contextDictionary.TryGetValue("Case", out caseObject))
                {
                    ICase theCase = caseObject as ICase;

                    string cliente = theCase.MainInteraction.GetAttachedData("cliente") as string;

                }  
            }


    the data called "cliente" it´s a record information from List Calling (OCS campaign), and it come attached from Outbound Call

    My question is : This is the correct way to get Outbound record information using code ?  or what library i should use 

    regards



     


  • 2.  RE: How can i get Record Information from Outbound Call using SDK code

    Posted 11-03-2014 12:08
    Hello,


    You can use Platform SDK Outbound Contact protocol. Platform SDK is a low-level SDK that is used to access Genesys back-end servers including OCS.
     


    Consider:
    Package com.genesyslab.platform.outbound.protocol.outbounddesktop


    This package contains classes that your application can use to work with the Outbound Desktop protocol.


    Read the Platform SDK API Reference for detailed information about the usage of Platform SDK Outbound Contact protocol.


    In case more clarificatios are required please open a case to address the questions.

    Roman T