The module is used to insert canned phrase details. The Service URL of the module is given by the following link-
https://www.enterice.com/ICEAPI/api/EmailAdmin/InsertCannedPhraseDetails
•Allowed for
Admin
•Json Formats-
1. Code snippet for Web Service Use-
InsertCannedPhraseDetails
{
“MenuCategoryID”: 138,
“ResponseText”:”Please check on our Website”,
“IsHTML”: true,
“CtrlKey”: true,
“AltKey”: true,
“ShiftKey”: true,
“KeyName”:”K”,
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFkbWluQGljZS5jb20iLCJleHAiOjE0ODQ2Njc0NzV9.TPd02r2m9g2Ri0aZeTApBkvmQExMJFMRsmBfgXgU3Cs”
}
2. Description for Request Parameters-
S.No | Name | Type | Description |
1 | Token | Int | Authentication Token |
2 | MenuCategoryId | Int | Id of menu category |
3 | ResponseText | String | Response text for canned phrase details |
4 | IsHTML | Bit | Is canned phrase response html? |
5 | CtrlKey | Bit | 1=Use Ctrl key, 2=Don’t use Ctrl key |
6 | AltKey | Bit | 1=Use Alt key, 2= Don’t use Alt key |
7 | ShiftKey | Bit | 1=Use Shiftkey, 2= Don’t use Shift Key |
8 | KeyName | String | Name of shortcut key to select canned phrase |
3 Response Example-
Success:
{ “Message”: ” Success” }
Fail:
{“Message”:”The request is invalid.”}