Jump to: navigation, search
(Update with the copy of version: 8.5.2)
m (Reverted edits by Xavier (talk) to last revision by Jumunn)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
=SendStopTypingNotification=
 
=SendStopTypingNotification=
This operation is performed to send notifications to other chat participants that the agent has stopped typing.
 
 
__NOTOC__
 
__NOTOC__
 +
This operation is part of the [[Chat|Chat API]] section of the [[Welcome|Web Services API]].
 
==Overview==
 
==Overview==
 +
This operation sends notifications to other chat participants that the agent has stopped typing.
 
{|
 
{|
 
! Request URL
 
! Request URL
Line 48: Line 49:
 
</pre>
 
</pre>
  
For details on the <tt>statusCode</tt> value, please refer to the [[Documentation:HTCC:API:ReturnValues:8.5.2#All_Methods|All Methods]] sub-section of the [[Documentation:HTCC:API:ReturnValues:8.5.2|Return Values]] page.
+
For details on the <tt>statusCode</tt> value, please refer to the [[ReturnValues#All_Methods|All Methods]] sub-section of the [[ReturnValues|Return Values]] page.
  
 
===Notification===
 
===Notification===

Latest revision as of 11:33, June 15, 2017

SendStopTypingNotification

This operation is part of the Chat API section of the Web Services API.

Overview

This operation sends notifications to other chat participants that the agent has stopped typing.

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

Parameters

Parameter Value
operationName SendStopTypingNotification

Sample

HTTP Request

POST on /me/chats/{id}

{
  "operationName":"SendStopTypingNotification"
}

HTTP Response

Success

{
  "statusCode": 0
}

Failure

{
  "statusCode": an integer value above 0,
  "statusMessage":details
}

For details on the statusCode value, please refer to the All Methods sub-section of the Return Values page.

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",
   "chatUri": "http://localhost:8080/api/v2/chats/0000Wa9CAM6W00FY"
}
This page was last edited on June 15, 2017, at 11:33.
Comments or questions about this documentation? Contact us for support!