This module is used to get canned answers by users. The Service URL of this module is given by-
https://www.enterice.com/external/icedataapi/api/chat/get_canned_answers
- Json Formats-
- Code snippet for Web Service Use-
GET_CANNED_ANSWERS
{
“Token”: “34gdf6754y3444”
“FromDateTime”: “07/05/2018 2:22”,
“ToDateTime”: “07/06/2018 12:22”,
“TimeZoneOffset”: “60”,
“Operators”: “1111”,
“OrgID”:168,
“SkillID”: “111”,
}
2. Description for Request Parameters-
Request Parameters |
Notes |
||||||||||||||||||||||||||||||||||
Token | string | Authentication Token | |||||||||||||||||||||||||||||||||
FromDateTime | string | From Date and Time | |||||||||||||||||||||||||||||||||
ToDateTime | string | To Date and Time | |||||||||||||||||||||||||||||||||
TimeZoneOffset | integer | Time zone offset of specific time zone |
|
||||||||||||||||||||||||||||||||
SkillID | integer | Skill id | For all skill pass 0 (Zero) | ||||||||||||||||||||||||||||||||
Operators | integer | Agent id | For all agent pass 0 (Zero) | ||||||||||||||||||||||||||||||||
OrgID | integer | Organization Id |
3. Response Example-
Success:
{
“CannedAnswers”: [
{
“Category”: “Greeting”,
“Answer”: “Welcome to ICE”,
“SkillName”: “ABC”,
“AgentName”: “John”,
“Used”: 2,
},
{
“Category”: “Greeting”,
“Answer”: “Thank you for contacting”,
“SkillName”: “ABC”,
“AgentName”: “John”,
“Used”: 2
},
{
“Category”: “Initial response”,
“Answer”: “How may I help you?”,
“SkillName”: “ABC”,
“AgentName”: “John”,
“Used”: 2
}
]
}
Fail:
{ “Status”: “ false”,
“Message”: “as above.”,
“Error”: “as above”
}