The module has been designed to insert contact details. The Service URL of the module is given by the following link-
https://www.enterice.com/ICEAPI/api/Email/ContactInsert
•Allowed for-
Agent
•Json Formats-
1. Code snippet for Web Service Use-
ContactInsert(CheckContactExists)
{
“ContactName”: “StephenJohns”,
“Email”: “stephen.johns@etechtexas.com”,
“Address”: “Los Angeles”,
“City”: “Los Angeles”,
“State”: “California”,
“Country”: “USA”,
“ZipCode”: “”,
“Website”: “www.etechgs.com“,
“BirthDate”: “1984-05-15 07:15:47.000”,
“Notes”: “”,
“CreatedDate”: “2016-12-23 07:08:47.000”,
“OrgId”: 59,
“SkillId”: 337,
“IsActive”: true,
“VirtualName”: “Stephen”,
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFAYS5jb20iLCJleHAiOjE0ODI1MDYyOTl9.DTuDBcnIQf8KrKAv5ehay4SLDukbdvP0zXTeMxt_KQo”
}
2. Description for Request Parameter-
| S.No | Name | Type | Description |
| 1 | ContactName | String | Contact Name |
| 2 | String | Email address | |
| 3 | Address | String | Residence address |
| 4 | City | String | Name of city |
| 5 | State | String | Name of state |
| 6 | Country | String | Name of country |
| 7 | ZipCode | String | Zip code |
| 8 | Website | String | Website address |
| 9 | Birthdate | DateTime | Date of birth |
| 10 | Notes | String | Notes |
| 11 | CreatedDate | DateTime | Current date |
| 12 | OrgID | Int | Id of organization |
| 13 | SkillId | Int | Id of skill |
| 14 | IsActive | Bool | True=IsActive, False=not active |
| 15 | VirtualName | String | Virtual name |
| 16 | Token | String | Authentication Token |
3. Response Example-
Success:
{
“Message”: “Contact has been added successfully.”
}
Fail:
{“Message”:”The request is invalid.”}