Get Agent Call Count
    • Dark
      Light

    Get Agent Call Count

    • Dark
      Light

    Article summary

    Overview

    The GetAgenCallCount API provides the number of non-PEWC contacts available for a specific Agent. It returns the count of PCB, NCB, and regular contacts.

    Note

    The Manual Dial Widget will eventually replace the Non-PEWC widget. Non-PEWC is compatible up to the Campaign Manager version 2308.

    Pre-requisite

    The agent must be logged in to the application.

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    LCM

    topic

    Webservice

    subtopic

    GetAgentCallCount

    source

    «app-name-broadcasting-this-message»

    data

    «JSON Object»

    Data Parameters

    Parameter

    Mandatory

    Data Type

    Description

    UserID

    Yes

    String

    Agent ID.

    Response Parameters

    Value

    channel

    LCM

    topic

    Webservice

    subtopic

    AgentCallCount

    message

    «JSON Object»

    Message Parameters

    Parameter

    Mandatory

    Data Type

    Description

    response

    Yes

    JSON Object

    Response object

    Response Parameters

    PCBCount

    Yes

    String

    The count of personal Callback calls.

    RegularCount

    Yes

    String

    The count of Regular Callback calls.

    IsAgentReserved

    Yes

    String

    Indicates if the agent is reserved.

    • 0 - Reserved

    • 1 - Not reserved

    Sample Request

    {   
        "channel": "LCM",
        "topic": "WebService",
        "subtopic": "GetAgentCallCount",
        "data": 
        {
            "UserID": "testagent”
        }
    }

    Sample Response

    {   
        "channel": "LCM",
        "topic": "WebService",
        "subtopic": "AgentCallCount",
        "message":
        {
            "response": 
            {
                "PCBCount": "0",
                "RegularCount": "1",
                "IsAgentReserved": "0"
            }
        }
    }


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence