Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
=SetInFocus=
 
=SetInFocus=
 
__NOTOC__
 
__NOTOC__
This operation is part of the [[Chat|Chat API]] section of the [[Welcome|Genesys Web Services REST API]].
+
This operation is part of the [[Chat|Chat API]] section of the [[Welcome|Web Services API]].
 
==Overview==
 
==Overview==
 
This request sets the <tt>SetInFocus</tt> parameter for a chat interaction.
 
This request sets the <tt>SetInFocus</tt> parameter for a chat interaction.
Line 25: Line 25:
 
| SetInFocus
 
| SetInFocus
 
|-
 
|-
| InFocus
+
| inFocus
 
| Boolean parameter '''true''' or '''false'''
 
| Boolean parameter '''true''' or '''false'''
 
|}
 
|}
Line 36: Line 36:
 
{
 
{
 
   "operationName": "SetInFocus",
 
   "operationName": "SetInFocus",
   "InFocus": [true or false]
+
   "inFocus": [true or false]
 
}
 
}
 
</pre>
 
</pre>

Latest revision as of 16:27, September 28, 2021

SetInFocus

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

Overview

This request sets the SetInFocus parameter for a chat interaction.

This parameter is useful when an agent is handling more than one interaction and aids in the proper reporting of time spent on each interaction.

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

Parameters

Parameter Value
operationName SetInFocus
inFocus Boolean parameter true or false

Sample

Request

POST api/v2/me/chats/0071023821aec011
{
  "operationName": "SetInFocus",
  "inFocus": [true or false]
}

Response

{
  "statusCode": 0
}
This page was last edited on September 28, 2021, at 16:27.
Comments or questions about this documentation? Contact us for support!