PureConnect

 View Only
Discussion Thread View
  • 1.  ICWS request to reset dialer campaigns

    Posted 10-06-2020 03:31
    We created an automation a while back to insert calldata to a Dialer campaign and have now discovered that there are possibilites to send an ICWS request to do a campaign reset which will remove one step from our management every day.

    However, even though we create a session call (which works fine) the next call just never executes.

    Have anyone used the https://help.genesys.com/developer/cic/docs/icws/webhelp/icws/(sessionId)/dialer/reset-campaign/index.htm
    ?

    We read the documentation that we should just provide the campaignId and GUID of the campaign as a JSON object in the body,

    "campaignId" : "3D9BE3C234224297B799C60B126567C0"}

    And we have tried alot of variations of the campaign GUID :)


    But we always get the same error message back.

    {
        "errorId""error.request.invalidRepresentation.malformed",
        "errorCode"0,
        "message""Invalid parameter value was specified."
    }



    Suggestions or pointers to the correct syntax?
    The CSRF Token and Cookies etc are correct in the call, so they are not the issue.

    #Integrations
    #Outbound

    ------------------------------
    Pontus Bjorling
    Senzum AB
    ------------------------------


  • 2.  RE: ICWS request to reset dialer campaigns

    Posted 04-04-2022 05:30

    Hello ,

    I'm trying to use this api method as well and have the same issue.
    Did you have this fixed? 

    Thanks for your feedback!
    Kind regards,
    Johan



    ------------------------------
    JOHAN CANTENS (Duplicate)
    Callexcell
    ------------------------------



  • 3.  RE: ICWS request to reset dialer campaigns

    Posted 04-05-2022 12:46
    Without seeing more of what you're sending I'm just guessing, but are you doing a /icws/{sessionId}/dialer/log-in before attempting it? 

    ------------------------------
    Eric Berkshire
    Broker Solutions, Inc. DBA New American Funding
    ------------------------------



  • 4.  RE: ICWS request to reset dialer campaigns

    Posted 04-06-2022 02:50
    Hi Erik,

    Thanks for your reaction!
    Yes that's a correct guess. Do I need to log-in first? I assumed that this was for agent that where doing login into campaigns.

    Kind regards,

    Johan


    ------------------------------
    JOHAN CANTENS (Duplicate)
    Callexcell
    ------------------------------



  • 5.  RE: ICWS request to reset dialer campaigns

    Posted 04-06-2022 02:56
    Hi Johan,

    That was exactly what I had to do aswell. Login with a user that has access to reset campaigns etc.
    Not explicitly stated in the documentation and not that clear :)

    IMO since I login as admin with the rights, i would not need to login to dialer. But hey, that was how the API worked :)

    ------------------------------
    Pontus Björling
    CTO
    Senzum AB, Sweden
    ------------------------------



  • 6.  RE: ICWS request to reset dialer campaigns

    Posted 04-07-2022 11:15
    Hello,

    Indeed I've got this working now without login to dialer first.

    Thanks for the help guys!

    Kind regards,
    Johan

    ------------------------------
    JOHAN CANTENS (Duplicate)
    Callexcell
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources