/icws/web-chat/typing-state/{participantId}

POST

/icws/web-chat/typing-state/{participantId}

Updates the typing state for a participant.
Feature Version
web-chat 1

Request

Parameters
Type
Name
Comments
Template
participantId

Required

The participant ID of the participant which the request is being made on behalf of.

    Representations
    chatTypingStateRequest
    An object representing a request to set the typing state for a participant.
    Property
    Value
    Comments
    typingIndicator
    Boolean

    Required

    Indicates whether or not the participant is typing.

    Response

    204 - No Content
    The typing state was updated successfully.
    400 - Bad Request
    This may indicate that the chat was not able to be started.

    Error Responses

    Error Identifier
    Error Type
    Error Description
    error.request.webChat.invalidParticipantId
    Type: urn:inin.com:common:error
    The request failed because the participant ID is unkown or invalid.
    error
    Provides additional detail for an error.
    Property
    Value
    Comments
    errorId
    String
    The error identifier that describes the current error.
    message
    String

    Required

    A message that describes the current error.
    410 - Gone
    This resource has been deprecated and removed from the API.
    error
    Provides additional detail for an error.
    Property
    Value
    Comments
    errorId
    String
    The error identifier that describes the current error.
    message
    String

    Required

    A message that describes the current error.
    500 - Internal Server Error
    An unexpected error occurred while processing the request.
    error
    Provides additional detail for an error.
    Property
    Value
    Comments
    errorId
    String
    The error identifier that describes the current error.
    message
    String

    Required

    A message that describes the current error.