Jump to: navigation, search

SendStopTypingNotification

This operation is part of the SMS Session API section of the Web Services API.

Overview

This operation sends notifications to all SMS session participants that the agent has stopped typing.

Request URL /api/v2/me/smsessions/{id}
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName SendStopTypingNotification

Sample

Request

POST api/v2/me/smsessions/0071023821aec011
{
  "operationName": "SendStopTypingNotification"
}

Response

{
  "statusCode": 0
}

Notification

{
    "messages": [
        {
            "index": 5,
            "from": {
                "nickname": "TestName",
                "type": "Agent",
                "participantId": "007352CE764002A3"
            },
            "timestamp": "2014-01-09 12:13:15.031+0200",
            "visibility": "All",
            "type": "TypingStopped",
            "timestampSeconds": 1389262395031L
        }
    ],
    "notificationType": "NewMessages",
    "messageType": "MessageLogUpdated",
    "smsessionUri": "http://localhost:8080/api/v2/smsessions/0000Wa9CAM6W00FY"
 }

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on November 4, 2016, at 09:54.