PureConnect

Discussion Thread View

Service Level Statistics using ICWS API

  • 1.  Service Level Statistics using ICWS API

    NEW MEMBER
    Posted 6 days ago
    Edited by Muhammed Sajid 6 days ago

    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
    ------------------------------