Set API Error
    • Dark
      Light

    Set API Error

    • Dark
      Light

    Article summary

    Overview

    This API allows the Agent to define the error message for the application accessing Acqueon Workspace.

    Pre-requisite

    The application must be registered with the Cisco channel.

    Sequence Diagram

    Message Structure

    Request Parameters

    Value

    channel

    Cisco

    topic

    Error

    subtopic

    SetAPIError

    source

    «app-name-broadcasting-this-message»

    data

    «JSON Object»

    Data Parameters

    Parameter

    Data Type

    Description

    Sample Value

    packet

    String

    Name of the packet.

    apierror

    data

    JSON Object

    NA

    NA

    errorType

    String

    The error type.

    Invalid state

    errorMessage

    String

    The internally used message to convey the error.

    Supervisor setting state to 'Ready' is not allowed.

    msg

    String

    The internal message above converted to a user-friendly message.

    Supervisor setting state to 'READY' is not allowed.

    Response Parameters

    Response Parameters

    Value

    channel

    Not applicable

    topic

    Not applicable

    subtopic

    Not applicable

    message

    Not applicable

    Sample Request

    {
        "channel": "Cisco",
        "topic": "Error",
        "subtopic": "SetAPIError",
        "data": 
        {
            "packet": "apierror",
            "data ": 
            {
                "errorType": "Invalid State",
                "errorMessage": "Supervisor setting state to 'READY' is not allowed",
                "msg": "Supervisor setting state to 'READY' is not allowed"
            }
        }
    }

    Sample Response

    No sample response


    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.