Jump to: navigation, search
(Created page with "=GWS Report Time In Focus= ==Overview== With this request, the agent will report the time spent working directly or indirectly on the interaction. {| border="1" | <center>''...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=GWS Report Time In Focus=
 
=GWS Report Time In Focus=
 +
{{NoteFormat|This document has been prepared specifically for Apple for release with Web Services and Applications 8.5.202.79. The information contained herein is proprietary and confidential and cannot be disclosed or duplicated without the prior written consent of Genesys Telecommunications Laboratories, Inc.  Copyright © 2020 Genesys Telecommunications Laboratories, Inc. All rights reserved.}}
 +
==Introduction==
 +
The '''ReportTimeInFocus''' request accepts MediaType in payload for [https://docs.genesys.com/Documentation/RN/8.5.x/web-svr-apps85rn/web-svr-apps8520279 8.5.202.79] and later versions of Web Services and Applications. The property name is "mediaType". The valid value is any string which should be transferred as-is to Interaction Server. This property is optional.
 +
<source lang="text">
 +
POST /api/v2/me/interactions/{interactionId}
  
 +
{
 +
  "operationName": "ReportTimeInFocus",
 +
  "timeInFocus": 7,
 +
  "mediaType": "chat"
 +
}
 +
</source>
 
==Overview==
 
==Overview==
 
With this request, the agent will report the time spent working directly or indirectly on the interaction.
 
With this request, the agent will report the time spent working directly or indirectly on the interaction.
Line 20: Line 31:
 
api-multimedia
 
api-multimedia
 
|}
 
|}
 
+
==Parameters==
===Parameters===
 
  
 
{| border="1"
 
{| border="1"
Line 32: Line 42:
 
operationName
 
operationName
 
|
 
|
ReportTimeInFocus
+
<tt>ReportTimeInFocus</tt>
 
|-
 
|-
 
|
 
|
Line 42: Line 52:
 
mediaType
 
mediaType
 
|
 
|
Optional. String. Media type of the interaction being reported. May be provided to hint Interaction Server Proxy to deliver the event to one of the Interaction Server(s) that has the corresponding media configured.
+
String. Optional. Media type of the interaction being reported. May be provided to hint Interaction Server Proxy to deliver the event to one of the Interaction Server(s) that has the corresponding media configured.
 
|}
 
|}
  
 
The request involves sending a JSON body as well as adhering to the URL path listed above:
 
The request involves sending a JSON body as well as adhering to the URL path listed above:
 
+
<source lang="text">
 
POST api/v2/me/00013aCVMEKU0013
 
POST api/v2/me/00013aCVMEKU0013
 
+
</source>
 
Listed below is the possible valid JSON for request:
 
Listed below is the possible valid JSON for request:
 
+
<source lang="text">
 
{
 
{
 
     "operationName": "ReportTimeInFocus",
 
     "operationName": "ReportTimeInFocus",
Line 56: Line 66:
 
     "mediaType": "chat"
 
     "mediaType": "chat"
 
}
 
}
 
+
</source>
===Response===
+
==Response==
 
The response consists of an HTTP response.
 
The response consists of an HTTP response.
====HTTP response====
+
===HTTP response===
 +
<source lang="text">
 
{
 
{
 
     "statusCode": 0,
 
     "statusCode": 0,
 
}
 
}
 +
</source>
 +
 +
[[Category:V:HTCC:8.5.2DRAFT]]

Latest revision as of 18:49, June 16, 2020

GWS Report Time In Focus

Important
This document has been prepared specifically for Apple for release with Web Services and Applications 8.5.202.79. The information contained herein is proprietary and confidential and cannot be disclosed or duplicated without the prior written consent of Genesys Telecommunications Laboratories, Inc. Copyright © 2020 Genesys Telecommunications Laboratories, Inc. All rights reserved.

Introduction

The ReportTimeInFocus request accepts MediaType in payload for 8.5.202.79 and later versions of Web Services and Applications. The property name is "mediaType". The valid value is any string which should be transferred as-is to Interaction Server. This property is optional.

POST /api/v2/me/interactions/{interactionId}

{
   "operationName": "ReportTimeInFocus",
   "timeInFocus": 7,
   "mediaType": "chat"
}

Overview

With this request, the agent will report the time spent working directly or indirectly on the interaction.

Request URL

/api/v2/me/interactions/{interactionId}

HTTP Method

POST

Required Features

api-multimedia

Parameters

Parameter
Value

operationName

ReportTimeInFocus

timeInFocus

Integer. The time that the agent spent working directly or indirectly on the interaction.

mediaType

String. Optional. Media type of the interaction being reported. May be provided to hint Interaction Server Proxy to deliver the event to one of the Interaction Server(s) that has the corresponding media configured.

The request involves sending a JSON body as well as adhering to the URL path listed above:

POST api/v2/me/00013aCVMEKU0013

Listed below is the possible valid JSON for request:

{
    "operationName": "ReportTimeInFocus",
    "timeInFocus": 7,
    "mediaType": "chat"
}

Response

The response consists of an HTTP response.

HTTP response

{
    "statusCode": 0,
}
This page was last edited on June 16, 2020, at 18:49.
Comments or questions about this documentation? Contact us for support!