POST api/crm/{companyCode}/website/checkavailability
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | integer |
Required |
Body Parameters
CRMCheckAvailability| Name | Description | Type | Additional information |
|---|---|---|---|
| ProspectInfo | ProspectBaseInfo |
None. |
|
| WebsiteLeadSource | string |
None. |
|
| WebsiteLeadSourceId | integer |
None. |
|
| LotName | string |
None. |
|
| VehicleStock | integer |
None. |
|
| VehicleYear | string |
None. |
|
| VehicleMake | string |
None. |
|
| VehicleModel | string |
None. |
|
| VehicleTrim | string |
None. |
|
| VehiclePrice | decimal number |
None. |
|
| CRMNote | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProspectInfo": {
"FirstName": "sample string 1",
"LastName": "sample string 2",
"MiddleInitial": "sample string 3",
"CellPhone": "sample string 4",
"EmailAddress": "sample string 5",
"City": "sample string 6",
"Zip": "sample string 7"
},
"WebsiteLeadSource": "sample string 1",
"WebsiteLeadSourceId": 2,
"LotName": "sample string 3",
"VehicleStock": 4,
"VehicleYear": "sample string 5",
"VehicleMake": "sample string 6",
"VehicleModel": "sample string 7",
"VehicleTrim": "sample string 8",
"VehiclePrice": 9.0,
"CRMNote": "sample string 10"
}
application/xml, text/xml
Sample:
<CRMCheckAvailability xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.MPI.Business.Entities">
<CRMNote>sample string 10</CRMNote>
<LotName>sample string 3</LotName>
<ProspectInfo>
<CellPhone>sample string 4</CellPhone>
<City>sample string 6</City>
<EmailAddress>sample string 5</EmailAddress>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<MiddleInitial>sample string 3</MiddleInitial>
<Zip>sample string 7</Zip>
</ProspectInfo>
<VehicleMake>sample string 6</VehicleMake>
<VehicleModel>sample string 7</VehicleModel>
<VehiclePrice>9</VehiclePrice>
<VehicleStock>4</VehicleStock>
<VehicleTrim>sample string 8</VehicleTrim>
<VehicleYear>sample string 5</VehicleYear>
<WebsiteLeadSource>sample string 1</WebsiteLeadSource>
<WebsiteLeadSourceId>2</WebsiteLeadSourceId>
</CRMCheckAvailability>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |