Jump to: navigation, search
(Created page with "=Consult= __NOTOC__ This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API. <h2> Overview </h2> ...")
 
Line 4: Line 4:
  
 
<h2> Overview </h2>
 
<h2> Overview </h2>
With this request an agent can consult with another agent. Consult happens in the same facebook chat context, but Customer will not be aware of the presence of consulting agent. Messages and notification from consulting agent will ONLY be visible to other agents, but not to customer. After consultation has started the originator can either [[GWS FacebookSession Transfer|Transfer]] to consultant agent.  Consulting agent can [[GWS FacebookSession Leave|Leave]] chat.
+
This request enables an agent to consult with another agent. A consultation happens in the same Facebook chat context, but the customer is not aware of the consulting agent. Messages and notifications from the consulting agent are be visible to other agents, not to the customer. After the consultation has started, the originator can [[FacebookPMTransfer|Transfer]] to the consulting agent or the consulting agent can [[FacebookPMLeave|Leave]] the chat.
  
For 'Consult through queue' feature 'InternalConferenceInvite' value should be added to 'InteractionSubtype' business attribute.
+
To enable the consult through queue feature, add the <tt>InternalConferenceInvite</tt> value to the <tt>InteractionSubtype</tt> business attribute.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
|-
 
|-
 
|targetUri
 
|targetUri
|user uri to consult with or queue uri to consult through. <br /> Mandatory, if targetPath is not specified.
+
|The user URI to consult with or the queue URI to consult through. <br /> Mandatory, if ''''targetPath''' is not specified.
 
|-
 
|-
 
|targetPath
 
|targetPath
|user path to consult with or queue path to consult through. <br /> Mandatory, if targetUri is not specified.
+
|The user path to consult with or the queue path to consult through. <br /> Mandatory, if '''targetUri''' is not specified.
  
 
|}
 
|}
Line 48: Line 48:
 
}
 
}
 
</source>
 
</source>
 
 
  
 
<h3>Response</h3>
 
<h3>Response</h3>
Line 63: Line 61:
 
<h4>Successful</h4>
 
<h4>Successful</h4>
 
<h5>First Notification</h5>
 
<h5>First Notification</h5>
 
 
<h5>Second Notification</h5>
 
<h5>Second Notification</h5>
  
  
 
[[Category:V:HTCC:8.5.2DRAFT]]
 
[[Category:V:HTCC:8.5.2DRAFT]]

Revision as of 19:57, September 29, 2015

Consult

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

Overview

This request enables an agent to consult with another agent. A consultation happens in the same Facebook chat context, but the customer is not aware of the consulting agent. Messages and notifications from the consulting agent are be visible to other agents, not to the customer. After the consultation has started, the originator can Transfer to the consulting agent or the consulting agent can Leave the chat.

To enable the consult through queue feature, add the InternalConferenceInvite value to the InteractionSubtype business attribute.

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

Parameters

Parameter Value
operationName Consult
targetUri The user URI to consult with or the queue URI to consult through.
Mandatory, if 'targetPath is not specified.
targetPath The user path to consult with or the queue path to consult through.
Mandatory, if targetUri is not specified.

Sample

Request

POST api/v2/facebooksession/0000Na9B26EF006E
{
  "operationName": "Consult",
  "targetUri": "http://localhost:8080/api/v2/contacts/429a55994ef64991a77acb77c1cf9041"
}

Response

{
  "statusCode": 0,
  "referenceId": 35
}

Notification

Successful

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