The module is used to get update canned phrase. The Service URL for the module is given by-
https://www.enterice.com/ICEAPI/api/Admin/UpdateCannedPhrase
•Allowed for-
Admin
•Json Formats-
1. Code snippet for Web Service Use-
UpdateCannedPhrase
{
“Token”:”sdfdsavcxdgdfFD”,
” CannedPhraseCategoryId “: 822,
” CannedPhraseName “: “Enter Canned Phrase Name”,
” ResonseText “: “Text”
” IsHTML “: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 for Canned phrase category |
3 | CannedPhraseName | String | Name of canned phrase |
4 | ResponseText | String | Response text of canned phrase |
5 | IsHTML? | Bit | Is canned phrase response html? |
6 | CtrlKey | Bit | 1=Use Ctrl key, 2=Don’t use Ctrl key |
7 | AltKey | Bit | 1=Use Alt key, 2= Don’t use Alt key |
8 | ShiftKey | Bit | 1=Use Shiftkey, 2= Don’t use Shift Key |
9 | KeyName | String | Name of shortcut key to select canned phrase |
3. Response Example-
Success:
{ “Message”: ” Success” }
Fail:
{“Message”:”The request is invalid.”}