(Created Fix blank page For Version: HTCC:8.5.2DRAFT) |
(Update with the copy of version: 8.5.2) |
||
Line 1: | Line 1: | ||
− | + | =SendStopTypingToAgentsNotification= | |
+ | __NOTOC__ | ||
+ | This request will send notification to all agents who are in a conference or consultation. Customers will not see this communication. | ||
+ | |||
+ | {| | ||
+ | ! Request URL | ||
+ | | /api/v2/me/chats/{id} | ||
+ | |- | ||
+ | ! HTTP Method | ||
+ | | POST | ||
+ | |- | ||
+ | ! Required Features | ||
+ | | api-multimedia | ||
+ | |} | ||
+ | |||
+ | ==Parameters== | ||
+ | {| | ||
+ | ! Parameter | ||
+ | ! Value | ||
+ | |- | ||
+ | | operationName | ||
+ | | SendStopTypingToAgentNotification | ||
+ | |} | ||
+ | |||
+ | ==Sample== | ||
+ | |||
+ | ===Request=== | ||
+ | <pre> | ||
+ | POST api/v2/me/chats/0071023821aec011 | ||
+ | { | ||
+ | "operationName": "SendStopTypingToAgentNotification" | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | ===Response=== | ||
+ | <pre> | ||
+ | { | ||
+ | "statusCode": 0 | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | ===Notification=== | ||
+ | <pre> | ||
+ | { | ||
+ | "messages": [ | ||
+ | { | ||
+ | "index": 5, | ||
+ | "from": { | ||
+ | "nickname": "TestName", | ||
+ | "type": "Agent", | ||
+ | "participantId": "007352CE764002A3" | ||
+ | }, | ||
+ | "timestamp": "2014-01-09 12:13:15.031+0200", | ||
+ | "visibility": "Agents", | ||
+ | "type": "TypingStopped", | ||
+ | "timestampSeconds": 1389262395031L | ||
+ | } | ||
+ | ], | ||
+ | "notificationType": "NewMessages", | ||
+ | "messageType": "MessageLogUpdated", | ||
+ | "chatUri": "http://localhost:8080/api/v2/chats/0000Wa9CAM6W00FY" | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | [[Category:V:HTCC:8.5.2DRAFT]] |
Revision as of 18:42, April 22, 2014
SendStopTypingToAgentsNotification
This request will send notification to all agents who are in a conference or consultation. Customers will not see this communication.
Request URL | /api/v2/me/chats/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | SendStopTypingToAgentNotification |
Sample
Request
POST api/v2/me/chats/0071023821aec011 { "operationName": "SendStopTypingToAgentNotification" }
Response
{ "statusCode": 0 }
Notification
{ "messages": [ { "index": 5, "from": { "nickname": "TestName", "type": "Agent", "participantId": "007352CE764002A3" }, "timestamp": "2014-01-09 12:13:15.031+0200", "visibility": "Agents", "type": "TypingStopped", "timestampSeconds": 1389262395031L } ], "notificationType": "NewMessages", "messageType": "MessageLogUpdated", "chatUri": "http://localhost:8080/api/v2/chats/0000Wa9CAM6W00FY" }
Comments or questions about this documentation? Contact us for support!