POST DealSheet/savecontacts

Save Coustomer Contacts.

Request Information

URI Parameters

None.

Body Parameters

SaveContactsRequest
NameDescriptionTypeAdditional 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

Email Address

string

None.

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "entityId": "f9293dd2-346a-47b4-8898-f36bb231406b",
  "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": "5e1e247a-9682-4a76-a216-7cd1aae5bc2a"
}

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">5e1e247a-9682-4a76-a216-7cd1aae5bc2a</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>f9293dd2-346a-47b4-8898-f36bb231406b</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

APIResult
NameDescriptionTypeAdditional 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>