Get Consult Agent List
    • Dark
      Light

    Get Consult Agent List

    • Dark
      Light

    Article summary

    Overview

    This API allows an Agent to fetch the list of available agents to consult.

    Pre-requisite

    The agent must be on an active customer call.  

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    Amazon

    topic

    OutboundCall

    subtopic

    GetAgentList

    source

    «app-name-broadcasting-this-message»

    data

    External number to be consulted.

    Response Parameters

    Value

    channel

    Amazon

    topic

    OutboundCall

    subtopic

    SetAgentList

    source

    JSON Array Agent List

    Data Parameters

    Parameter

    Data Type

    Description

    Sample Value

    id

    String

    Serial ID.

    agentName

    String

    The agent name.

    availableSince

    String

    The time from when an agent in the Available State.

    agentStatus

    String

    The Agent Status.

    waitingTimeSec

    String

    The waiting time, in seconds, to reach the agent.

    Queue

    String

    NA

    routingProfile

    String

    The routing profile mapped for the agent.

    cpassUUID

    String

    The agent connection UUID.

    Possible Error Cases

    Error Type

    Code

    Message

    AGENTLIST_FETCH_FAILED

    Acqueon Campaigns Failure Error Message.

    Agent list fetch failed.

    CONSULTLIST_FETCH_FAILED

    Acqueon Campaigns Failure Error Message.

    Consult list fetch failed.

    Sample Request

    {
        "channel": "Amazon",
        "topic": "OutboundCall",
        "subtopic": "GetAgentList",
        "source": "myapp"
    }

    Sample Response

    {
        "channel": "Amazon",
        "topic": "OutboundCall",
        "subtopic": "SetAgentList",
        "message": [
            {
                "id": 2,
                "agentName": "devuser1",
                "availableSince": "2020-06-15T08:25:24.98",
                "agentStatus": "Available",
                "waitingTimeSec": "9",
                "queue": "",
                "routingProfile": "DevRoutingProfile",
                "cpassUUID": "e956c056-bd47-4c69-bf26-9f01e3800b01"
            }
    }


    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