(Auto-creation of topic Documentation:HTCC:API:ChatSetInFocus:8.5.2 via TOC Documentation:HTCC:APITOC8.5.2) |
|||
Line 1: | Line 1: | ||
− | = | + | =SetInFocus= |
+ | This request will set focus parameter for interaction. This is useful if agent is handling more than one interaction and will aide in proper reporting time spend 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''' | ||
+ | <pre> | ||
+ | POST api/v2/me/chats/0071023821aec011 | ||
+ | { | ||
+ | "operationName": "SetInFocus", | ||
+ | "InFocus": [true or false] | ||
+ | } | ||
+ | </pre> | ||
+ | |||
+ | '''Response''' | ||
+ | <pre> | ||
+ | { | ||
+ | "statusCode": 0 | ||
+ | } | ||
+ | </pre> | ||
[[Category:V:HTCC:8.5.2]] | [[Category:V:HTCC:8.5.2]] |
Revision as of 16:24, January 24, 2014
SetInFocus
This request will set focus parameter for interaction. This is useful if agent is handling more than one interaction and will aide in proper reporting time spend 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 }
Comments or questions about this documentation? Contact us for support!