Jump to: navigation, search
(Created page with "=SendToAgents= __NOTOC__ This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API. <h2> Overview </...")
 
Line 3: Line 3:
 
This operation is part of the [[FacebookPM|Facebook Private Messaging API]] section of the [[Welcome|Genesys Web Services REST API]].
 
This operation is part of the [[FacebookPM|Facebook Private Messaging API]] section of the [[Welcome|Genesys Web Services REST API]].
 
<h2> Overview </h2>
 
<h2> Overview </h2>
This request will send a text message only to agents who are in a conference or in a consult facebook chat.
+
This request sends a text message only to agents who are in a conference or in a consulting Facebook chat.
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 26: Line 26:
 
|-
 
|-
 
|text
 
|text
|text to send to agents
+
|The text to send to agents
 
|}
 
|}
  
Line 50: Line 50:
  
 
<h3>Notification</h3>
 
<h3>Notification</h3>
Here are the list of notifications received after send new message for only agents
+
Here is the list of notifications received after sending a new message only for agents:
  
 
<h4>Notification with new message</h4>
 
<h4>Notification with new message</h4>
 +
{{Editgrn_open}}Missing{{Editgrn_close}}
  
 
[[Category:V:HTCC:8.5.2DRAFT]]
 
[[Category:V:HTCC:8.5.2DRAFT]]

Revision as of 20:00, September 29, 2015

SendToAgents

This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API.

Overview

This request sends a text message only to agents who are in a conference or in a consulting Facebook chat.

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

Parameters

Parameter Value
operationName SendToAgents
text The text to send to agents

Sample

Request

POST api/v2/me/facebooksession/0071023821aec011
{
  "operationName": "SendToAgents",
  "text": "We need your help?"
}

Response

{
  "statusCode": 0
}

Notification

Here is the list of notifications received after sending a new message only for agents:

Notification with new message

Missing

Comments or questions about this documentation? Contact us for support!