PureConnect

 View Only
Discussion Thread View

Service Level Statistics using ICWS API

  • 1.  Service Level Statistics using ICWS API

    Posted 10-13-2020 08:47
    Edited by Muhammed Sajid 10-13-2020 09:01

    Hi, 

    I am creating a custom dashboard for PureConnect statistics using ICWS API and C#. I am able to get the statistics values such as InteractionsEntered, InteractionsAnswered and AgentsLoggedInAndActivated etc. using the both /icws/(sessionId)/messaging/subscriptions/statistics/statistic-values and /icws/(sessionId)/messaging/messages APIs. 

    But, when I am trying to get the Service Level Target (inin.workgroup:ServiceLevelTarget) values for the workgroup, I am not getting any result from the /messaging/messages API. 

    Please see the below request and response and advise 

    Request: 

    URL: /icws/{{SessionId}}/messaging/subscriptions/statistics/statistic-values

    Method:PUT

    Body:
    {

        "statisticIdentifier":"inin.workgroup:ServiceLevelTarget",

        "parameterValueItems":

        [

            {"parameterTypeId":"ININ.People.WorkgroupStats:Workgroup","value":"My_Queue_Name"},

            {"parameterTypeId":"ININ.Queue:InteractionType","value":"Call"},

            {"parameterTypeId":"ININ.Queue:Interval","value":"PreviousShift"}

        ]

    ===============================================================================

    Response:

    [

        {

            "__type": "urn:inin.com:statistics:statisticValueMessage",

            "isDelta": false,

            "statisticValueChanges": []

        }

    ]

     I tested this code in 3 different client environments and getting the same empty result set. Please check and let me know if I missed anything.

    Any support would be appreciated.
    Thanks in advance.


    #Integrations
    #Reporting/Analytics

    ------------------------------
    Muhammed Sajid
    Jathwa Technology Solutions
    ------------------------------


Need Help finding something?

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