This module is used to update the user in the system. A user could use the following Service URL to access the Update User module-
https://www.enterice.com/ICEAPI/api/EmailAdmin/UpdateUser
•Allowed for
Admin
•Json Formats-
1. Code snippet for Web Service Use-
{
“OrgId”: 128,
“UserId”: 2086,
“UserName”: “Jack@tri.com”,
“ForeName”: “jack”,
“SurName”: “S”,
“RealForeName”: “Jack”,
“RealSurName”: “S”,
“RoleId”: 2,
“Gender”: “Male”,
“TicketLimit”: 60,
“Skillids”: “556”,
“Volume”: 0.4,
“RingType”: “ChatSound2”,
“IsMultiSession”: true,
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFkbWluQGljZS5jb20iLCJleHAiOjE0ODQ2Njc0NzV9.TPd02r2m9g2Ri0aZeTApBkvmQExMJFMRsmBfgXgU3Cs”
}
2. Description for Request Parameters-
S.No | Name | Type | Description |
1 | Token | String | Authentication Token |
2 | OrgId | Int | ID of Organization |
3 | UserId | Int | Id of User |
4 | UserName | String | Username of User |
5 | ForeName | String | User’s first name |
6 | SurName | String | User’s last name |
7 | RealForeName | String | User’s real first name |
8 | RealSurName | String | User’s real last name |
9 | RoleId | Int | 1=Admin, 2=Agent, 3=Supervisor |
10 | Gender | String | Gender of User |
11 | TicketLimit | Int | Active ticket limit |
12 | Skillids | Int | Id of Skill |
13 | IsMultiSession | Bool | True=Multisession, False=Not multisession |
14 | Volume | Int | Volume of ring |
15 | RingType | String | Type of ring |
3. Response Example–
Success:
{ “Message”:”Success”}
Fail:
{“Message”:”The request is invalid.”}