This module is designed to get data of chat averages. The Service URL of this module is given by the following link-
https://www.enterice.com/external/icedataapi/api/chat/get_chat_averages
- Json Formats-
- Code snippet for Web Service Use-
GET_CHAT_AVERAGES
{
“Token”: “34gdf6754y3444”
“FromDateTime”: “07/05/2018 2:22”,
“ToDateTime”: “07/06/2018 12:22”,
“TimeZoneID”: “20”,
“TimeZoneOffset”: “-300”,
“OrgID”: “168”,
“SkillID”: “111”,
“Operators”: “1854”
}
2. Description for Request Parameter-
Request Parameters | Notes | ||||||||||||||||||||||||||||||||||
Token | string | Authentication Token | |||||||||||||||||||||||||||||||||
FromDateTime | string | From Date and Time | |||||||||||||||||||||||||||||||||
ToDateTime | string | To Date and Time | |||||||||||||||||||||||||||||||||
TimeZoneID | integer | Time zone id of specific time zone |
|
||||||||||||||||||||||||||||||||
SkillID | integer | Skill id | For all skill pass 0 (Zero) | ||||||||||||||||||||||||||||||||
Operators | string | Agent id | For all agent pass 0 (Zero) | ||||||||||||||||||||||||||||||||
OrgID | Integer | Organization id | |||||||||||||||||||||||||||||||||
TimeZoneOffset | Integer | Offset for specific time zone | Use offset as given in TimeZoneID column |
3. Response Example-
Success:
{
“ChatAverages”: [
{
“AgentName”: “Peter”,
“AverageAgentResponseTime”: “00:00:56”,
“AverageVisitorResponseTime”: “00:00:58”,
“ChatsWithAgentResponses”: “1”
},
{
“AgentName”: “John”,
“AverageAgentResponseTime”: “00:00:32”,
“AverageVisitorResponseTime”: “00:00:29”,
“ChatsWithAgentResponses”: “2”
},
{
“AgentName”: “Smith”,
“AverageAgentResponseTime”: “00:00:49”,
“AverageVisitorResponseTime”: “00:00:46”,
“ChatsWithAgentResponses”: “1”
}
]
}
Fail:
{ “Status”: “ false”,
“Message”: “as above.”,
“Error”: “as above”
}