This module has been designed to get login and logout details of agent through his respective Skill ID. The Service URL of the module is given by-
https://www.enterice.com/external/icedataapi/api/chat/get_login_logout_detail_by_skillid
- Json Formats-
- Code snippet for Web Service Use-
GET_LOGIN_LOGOUT_DETAIL_BY_SKILLID
{
“Token”: “34gdf6754y3444”
“FromDateTime”: “07/05/2018 2:22”,
“ToDateTime”: “07/06/2018 12:22”,
“TimeZoneID”: “20”,
“SkillID”: “111”,
“OrgID”: “168”,
“TimeZoneOffset”: “-300”
}
2. Description for Request Parameters–
|
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) | ||||||||||||||||||||||||||||||||
| OrgID | Integer | Organization id | |||||||||||||||||||||||||||||||||
| TimeZoneOffset | Integer | Offset for specific time zone | |||||||||||||||||||||||||||||||||
3. Response Example-
Success:
{
“agents”: [{
“AgentName”: “John”,
“LengthOfTimeLoggedIn”: “08:00:00”
},
{
“AgentName”: “Smith”,
“LengthOfTimeLoggedIn”: “08:30:00”
},
{
“AgentName”: “Michael”,
“LengthOfTimeLoggedIn”: “06:00:00”
}
]
}
Fail:
{ “Status”: “false”,
“Message”: “as above.”
“Error”: “as above”
}