Skip Non-PEWC Contact
    • Dark
      Light

    Skip Non-PEWC Contact

    • Dark
      Light

    Article summary

    Overview

    The SkipNonPEWCContact API provides an option to the Agent skip a reserved non-PEWC contact.

    Pre-requisite

    The agent must be logged in to the application and be on a reserved non-PEWC contact.

    Note

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

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    LCM

    topic

    Webservice

    subtopic

    SkipNonPEWCContact

    source

    «app-name-broadcasting-this-message»

    data

    «JSON Object»

    Data Parameters

    Parameter

    Mandatory

    Data Type

    Description

    UserId

    Yes

    String

    The agent ID.

    Response Parameters

    Value

    channel

    LCM

    topic

    Webservice

    subtopic

    SkipNonPEWCContactResult

    message

    «JSON Object»

    Message Parameters

    Parameter

    Mandatory

    Data Type

    Description

    response

    Yes

    JSON Array

    Response object.

    Response Parameters

    success

    Yes

    Boolean

    Skip status.

    msg

    No

    String

    Failure message.

    Sample Request

    {
        "channel": "LCM",
        "topic": "WebService",
        "subtopic": "SkipNonPEWCContact",
        "data": 
        {
            "userID": "testagent"
        }
    }

    Sample Response - If Contact is Fetched

    {
        "channel": "LCM",
        "topic": "WebService",
        "subtopic": "SkipNonPEWCContactResult",
        "message": 
        {
            "response": 
            {
                "success": true
            }
        }
    }

    Sample Response - If no Contact is Fetched

    {   
        "channel": "LCM",
        "topic": "WebService",
        "subtopic": "SkipNonPEWCContactResult",
        "message": 
        {
            "response": 
            {
                "success": false,
                "msg": "Contact not found"
            }
        }
    }


    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.