The module is designed to Update canned phrase. The Service URL of the module is given by the following link-
https://www.enterice.com/ICEAPI/api/ChatAdmin/UpdateCannedPhrase
•Request Type–
Post
•Allowed for–
Admin
•Json Formats–
1. Code snippet for Web Service Use–
UpdateCannedPhrase
{
“Token”:”sdfdsavcxdgdfFD”,
“CannedPhraseCategoryId” : 12,
“MenuCategoryId”: 822,
“CannedPhraseName”: “Canned”,
“ResponseText”: “Response”
“IsHTM”:1,
“CtrlKey:”:1,
“AltKey:”:0,
“ShiftKey”:0,
“KeyName”:”K”
}
2. Description for Request Parameters–
| S.No | Name | Type | Description |
| 1 | Token | String | Authentication Token |
| 2 | CannedPhraseCategoryID | Int | Id of canned phrase category |
| 3 | MenuCategoryID | Int | Id of canned phrase menu category |
| 4 | ResponseText | String | Response text of canned phrase |
| 5 | CannedPhraseName | String | Name of canned phrase |
| 6 | IsHTML | Bit | Is canned phrase response html? |
| 7 | CTRLKey | Bit | 1=Use CtrlKey, 0=Don’t use CtrlKey |
| 8 | ALTKey | Bit | 1=Use AltKey, 0= Don’t use AltKey |
| 9 | SHIFTKey | Bit | 1=Use ShiftKey, 0=Don’t use ShiftKey |
| 10 | KeyName | String | Name of shortcut key to select canned phrase |
3. Response Example–
Success:
{ “Message”: ” Success” }
Fail:
{ “message”: ” The request is invalid.” }