Login
    • Dark
      Light

    Login

    • Dark
      Light

    Article summary

    Overview

    The Login API allows a user to sign into the CTI server. If the login response is successful, the user is signed into softphone and is automatically placed in the NOT_READY state.

    If five consecutive sign-ins fail due to incorrect credentials, Acqueon Workspace blocks access to the user account for a period of 5 minutes.

    If a user is already signed in and tries to log in to Acqueon Workspace using the API, the user is signed in again and keeps the current state provided the credentials are correct. For example, if a user signs in, changes state to Ready, and then signs in again, the user remains in Ready state.

    Pre-requisite

    The Agent must register to a Cisco channel.

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    Cisco

    topic

    Agent

    subtopic

    SetUserInfo

    source

    «app-name-broadcasting-this-message»

    data

    «JSON Object»

    Data Parameters

    Parameter

    Data Type

    Description

    Sample Value

    username

    String

    The username of the user logging in.

    ciscotest

    password

    String

    The password for the above user.

    test@123

    extension

    String

    The extension being logged in to.

    5064

    Response Parameters

    Response Parameters

    Value

    channel

    Not applicable

    topic

    Not applicable

    subtopic

    Not applicable

    message

    Not applicable

    Sample Request

    {
        "channel": "Cisco",
        "topic": "Agent",
        "subtopic": "SetUserInfo",
        "data": {
            "username": "102312778",
            "password": "pqsup1",
            "extension": "5069"
        }
    }

    Sample Response

    The following APIs are triggered in the request to SetUserInfo API:

    • OpenConnection

    • SetConnectionStatus

    • SetAgentState

    • Login

    • GetAppState

    • CallsStateChange

    • SetMRDList

    • GetMedia

    • SetSystemInfo

    • SetMappedMRD

    • Map

    • SetLogOutReasonCodes

    • SetNotReadyReasonCodes

    • SetPhoneBook

    • SetWrapupCode


    Was this article helpful?

    What's Next
    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.