POST DealSheet/savecontacts
Request Information
URI Parameters
None.
Body Parameters
SaveContactsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| entityId | globally unique identifier |
None. |
|
| firstName | string |
None. |
|
| middleName | string |
None. |
|
| lastName | string |
None. |
|
| companyName | string |
None. |
|
| address | string |
None. |
|
| address2 | string |
None. |
|
| city | string |
None. |
|
| state | string |
None. |
|
| zipCode | string |
None. |
|
| homePhone | string |
None. |
|
| workPhone | string |
None. |
|
| cellphone | string |
None. |
|
| string |
None. |
||
| token | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"entityId": "810cc896-99c9-4b13-ab8b-5eca2c2ce3e4",
"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": "40479730-420e-42b2-83c9-0c85ebd9982e"
}
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">40479730-420e-42b2-83c9-0c85ebd9982e</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>810cc896-99c9-4b13-ab8b-5eca2c2ce3e4</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| error | string |
None. |
|
| APIVersion | 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>