PureConnect

 View Only
Discussion Thread View

ICWS - Create Callback RemoteId

  • 1.  ICWS - Create Callback RemoteId

    Posted 04-23-2022 18:24
    Edited by saravanakumar velayutham 04-23-2022 18:25

    Trying to create the same callback object ( Icelib seems to set the RemoteId , but not ICWS)

    current Icelib Code

    var attributes = new Dictionary<string, string>
    {
    ["Eic_CallbackPhone"] = "5555555555",
    ["Eic_RemoteId"] = "Custom Call",
    ["Eic_RemoteName"] = "**********",
    ["Eic_RemoteIdCopy"] = "5555555555"
    };

    var callBackParameters = new CallbackInteractionParameters("Workgroup Queue:WorkgroupQueueName", "5555555555", "**********", attributes);
    var interaction = InteractionsManager.MakeCallbackInteraction(callBackParameters);

    Trying to create the same callback using ICWS referring "https://help.genesys.com/developer/cic/docs/icws/webhelp/icws/(sessionId)/interactions/index.htm#resource" using "urn:inin.com:interactions.callback:createCallbackParameters" payload as given below. The Remote Id attribute is never used on the created interaction, instead displays the server name on the Interaction details. 

    {
    "__type":"urn:inin.com:interactions.callback:createCallbackParameters",
    "additionalAttributes" : {
    "Eic_CallbackPhone": "5555555555",
    "Eic_RemoteId" : "Custom Call",
    "Eic_RemoteIdCopy" : "5555555555"
    },
    "targetQueue" : {
    "queueType" : "2",
    "queueName":"WorkgroupQueueName"
    },
    "target" : "5555555555",
    "subject":"**********",
    "name" : "**********"
    }

    Tried to update the interaction following "https://help.genesys.com/developer/cic/docs/icws/webhelp/icws/(sessionId)/interactions/(interactionId)/index.htm#post"

    {

        "attributes" : {

            "Eic_RemoteId":"Custom Call"

        }

    }

    ICWS created interactions shows Eic_RemoteId as the server name. The icelib calls shows the Eic_RemoteId as "Custom Call" . What payload is required to create callback with custom RemoteId string? 




    #Integrations

    ------------------------------
    saravanakumar velayutham
    UMA Education, Inc.
    ------------------------------