ICE Email APIs

CreateUser

An Admin user uses this module to create a new user. The following Service URL could be followed to access the module-

https://www.enterice.com/ICEAPI/api/EmailAdmin/CreateUser

•Allowed for

Admin

•Json Formats

1. Code snippet for Web Service Use-

{

 “UserName”: “mjohnson@enterice.com”,

 “PassWord”: “Password”,

 “OrgId”: 59

 “ForeName”: “Michael”,

 “SurName”: “Johnson”,

 “RealForeName”: “Michael”,

 “RealSurName”: “Johnson”,

 “RoleId”: 2,

 “Gender”: “Male”,

 “TicketLimit”: 30,

 “Skillids”: “321”,

 “Volume”: 0.4,

 “RingType”: “ChatSound2”,

 “IsMultiSession”: false,

 “Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFkbWluQHRlc3QuY29tIiwiZXhwIjoxNDgyMTY3MDk0fQ.hmz3O5s8wIAvb-5nIz6WVqOfJ3LdsMnnu_GyddDyRrM”

}

2. Description for Request Parameters

S.No Name Type Description
1 Token String Authentication Token
2 OrgId Int ID of Organization
3 Username String Username of user
4 Password String Password of user
5 Volume Int Volume of ring
6 ForeName String User’s first name
7 Surname String User’s last name
8 RealForename String User’s real first name
9 RealSurname String User’s real last name
10 RoleId String 1=Admin, 2= Agent, 3= Supervisor
11 Gender String Gender of user
12 TicketLimit Int Active ticketlimit
13 SkillIds Int ID of Skill
14 IsMultiSession Bit True=Multi Session, False=Not multisession
15 RingType String Type of ring

3. Response Example-

Success:

{ “Message”: ” Success”,

“UserId”:”1356″

}

Fail:

{“Message”:”The request is invalid.”}

 

    ×

    Contact Us