Create Contacts
You can create bulk contact from here
api/Contact/CreateContacts
Request Header
Parameter | Required | Value |
---|---|---|
TokenKey | Mandatory | User Input |
Content-Type | Mandatory | application/json |
Request Body
[{
"CompanyName": "<UserInput>",
"Address1": "<UserInput>",
"Address2": "<UserInput>",
"City": "<UserInput>",
"StateID": "<StateID>",
"CountryID": "<CountryID>",
"ZipCode": "<UserInput>",
"Phone": "<UserInput>",
"Fax": "<UserInput>",
"WebURL": "<UserInput>",
"CompanyDescription": "<UserInput>",
"FirstName": "<UserInput>",
"MiddleName": "<UserInput>",
"LastName": "<UserInput>",
"Title": "<UserInput>",
"PhoneWork": "<UserInput>",
"PhoneExt": "<UserInput>",
"PhoneMobile": "<UserInput>",
"PhoneAfterHrs": "<UserInput>",
"Pager": "<UserInput>",
"Email": "<UserInput>",
"YearsInBusiness": "<UserInput>",
"Notes": "<UserInput>",
"PreferredNTFNMedia": "<UserInput>",
"Business": {
"PropertyID": "<PropertyID>",
"OtherValue": "<UserInput>"
},
"Occupation": {
"PropertyID": "<PropertyID>",
"OtherValue": "<UserInput>"
}
},
{
"CompanyName": "<UserInput>",
"Address1": "<UserInput>",
"Address2": "<UserInput>",
"City": "<UserInput>",
"StateID": "<StateID>",
"CountryID": "<CountryID>",
"ZipCode": "<UserInput>",
"Phone": "<UserInput>",
"Fax": "<UserInput>",
"WebURL": "<UserInput>",
"CompanyDescription": "<UserInput>",
"FirstName": "<UserInput>",
"MiddleName": "<UserInput>",
"LastName": "<UserInput>",
"Title": "<UserInput>",
"PhoneWork": "<UserInput>",
"PhoneExt": "<UserInput>",
"PhoneMobile": "<UserInput>",
"PhoneAfterHrs": "<UserInput>",
"Pager": "<UserInput>",
"Email": "<UserInput>",
"YearsInBusiness": "<UserInput>",
"Notes": "<UserInput>",
"PreferredNTFNMedia": "<UserInput>",
"Business": {
"PropertyID": "<PropertyID>",
"OtherValue": "<UserInput>"
},
"Occupation": {
"PropertyID": "<PropertyID>",
"OtherValue": "<UserInput>"
}
}
]
Response
Access-Control-Allow-Origin →chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Access-Control-Expose-Headers →chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Cache-Control →no-cache
Connection →Close
Content-Length →255
Content-Type →application/json; charset=utf-8
Date →Mon, 26 Dec 2016 07:15:05 GMT
Expires →-1
Pragma →no-cache
Server →ASP.NET Development Server/11.0.0.0
X-AspNet-Version →4.0.30319
[
{
"Email": "Email ID",
"Status": "Failed",
"Message": "Duplicate Email"
},
{
"Email": "Email ID",
"Status": "Success",
"Message": "Contact Created Successfully"
}
]
Updated less than a minute ago