Jump to: navigation, search
(Created page with "=SetInFocus= __NOTOC__ This operation is part of the SMS Session API section of the Web Services API. ==Overview== This request sets the <tt>SetInFocus</tt> parame...")
 
Line 3: Line 3:
 
This operation is part of the SMS Session API section of the [[Welcome|Web Services API]].
 
This operation is part of the SMS Session API section of the [[Welcome|Web Services API]].
 
==Overview==
 
==Overview==
This request sets the <tt>SetInFocus</tt> parameter for an interaction.
+
This request sets the focus parameter for an 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.
 
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
 
! Request URL
| /api/v2/me/chats/{id}
+
| /api/v2/me/smssessions/{id}
 
|-
 
|-
 
! HTTP Method
 
! HTTP Method
Line 33: Line 33:
 
'''Request'''
 
'''Request'''
 
<pre>
 
<pre>
POST api/v2/me/chats/0071023821aec011
+
POST api/v2/me/smssessions/0071023821aec011
 
{
 
{
 
   "operationName": "SetInFocus",
 
   "operationName": "SetInFocus",

Revision as of 18:43, October 13, 2016

SetInFocus

This operation is part of the SMS Session API section of the Web Services API.

Overview

This request sets the focus parameter for an 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/smssessions/{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/smssessions/0071023821aec011
{
  "operationName": "SetInFocus",
  "InFocus": [true or false]
}

Response

{
  "statusCode": 0
}
Comments or questions about this documentation? Contact us for support!