POST DealSheet/savecontacts
Save Coustomer Contacts.
Request Information
URI Parameters
None.
Body Parameters
SaveContactsRequestName | Description | Type | Additional information |
---|---|---|---|
entityId |
GUID that uniquely identifies the Entity |
globally unique identifier |
None. |
firstName |
First Name |
string |
None. |
middleName |
Middle Name |
string |
None. |
lastName |
Last Name |
string |
None. |
companyName |
Company Name |
string |
None. |
address |
Address |
string |
None. |
address2 |
Address2 |
string |
None. |
city |
City |
string |
None. |
state |
State |
string |
None. |
zipCode |
Zip Code |
string |
None. |
homePhone |
Home Phone |
string |
None. |
workPhone |
Work Phone |
string |
None. |
cellphone |
Cell Phone |
string |
None. |
Email Address |
string |
None. |
|
token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "entityId": "244b0e83-b686-4005-a30c-da665f615d93", "firstName": "sample string 2", "middleName": "sample string 3", "lastName": "sample string 4", "companyName": "sample string 5", "address": "sample string 6", "address2": "sample string 7", "city": "sample string 8", "state": "sample string 9", "zipCode": "sample string 10", "homePhone": "sample string 11", "workPhone": "sample string 12", "cellphone": "sample string 13", "email": "sample string 14", "token": "e6dd75ef-b1fe-42f7-88a9-f7c8b01bf938" }
application/xml, text/xml
Sample:
<SaveContactsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.DealSheet"> <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">e6dd75ef-b1fe-42f7-88a9-f7c8b01bf938</token> <address>sample string 6</address> <address2>sample string 7</address2> <cellphone>sample string 13</cellphone> <city>sample string 8</city> <companyName>sample string 5</companyName> <email>sample string 14</email> <entityId>244b0e83-b686-4005-a30c-da665f615d93</entityId> <firstName>sample string 2</firstName> <homePhone>sample string 11</homePhone> <lastName>sample string 4</lastName> <middleName>sample string 3</middleName> <state>sample string 9</state> <workPhone>sample string 12</workPhone> <zipCode>sample string 10</zipCode> </SaveContactsRequest>
Response Information
Resource Description
APIResultName | Description | Type | Additional information |
---|---|---|---|
code |
API result code |
integer |
None. |
error |
API error message |
string |
None. |
APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "APIVersion": 1, "code": 200, "error": "sample string 2" }
application/xml, text/xml
Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API"> <APIVersion>1</APIVersion> <error>sample string 2</error> </APIResult>