POST api/LostLeads
Request Information
URI Parameters
None.
Body Parameters
LostLeadItemName | Description | Type | Additional information |
---|---|---|---|
DealerID | integer |
Required |
|
Title | string |
None. |
|
FirstName | string |
Required |
|
LastName | string |
Required |
|
ContactNumber | string |
Required |
|
LeadSource | string |
Required |
|
EmailAddress | string |
None. |
|
Vehicle | string |
None. |
|
Mileage | string |
None. |
|
Location | string |
None. |
|
VehiclePriceRange | string |
None. |
|
TradeIn | boolean |
None. |
|
StockNo | string |
None. |
|
Price | string |
None. |
|
MMCode | string |
None. |
|
NewUsedDemo | string |
Required |
|
SourceLeadID | string |
Required |
|
SourceStaffName | string |
None. |
|
SourceComments | string |
None. |
|
SourceLostReason | string |
Required |
|
SourceESLeadID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DealerID": 1, "Title": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "ContactNumber": "sample string 5", "LeadSource": "sample string 6", "EmailAddress": "sample string 7", "Vehicle": "sample string 8", "Mileage": "sample string 9", "Location": "sample string 10", "VehiclePriceRange": "sample string 11", "TradeIn": true, "StockNo": "sample string 12", "Price": "sample string 13", "MMCode": "sample string 14", "NewUsedDemo": "sample string 15", "SourceLeadID": "sample string 16", "SourceStaffName": "sample string 17", "SourceComments": "sample string 18", "SourceLostReason": "sample string 19", "SourceESLeadID": 1 }
application/xml, text/xml
Sample:
<LostLeadItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESLeadsAPI.LostLeadModel"> <ContactNumber>sample string 5</ContactNumber> <DealerID>1</DealerID> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <LeadSource>sample string 6</LeadSource> <Location>sample string 10</Location> <MMCode>sample string 14</MMCode> <Mileage>sample string 9</Mileage> <NewUsedDemo>sample string 15</NewUsedDemo> <Price>sample string 13</Price> <SourceComments>sample string 18</SourceComments> <SourceESLeadID>1</SourceESLeadID> <SourceLeadID>sample string 16</SourceLeadID> <SourceLostReason>sample string 19</SourceLostReason> <SourceStaffName>sample string 17</SourceStaffName> <StockNo>sample string 12</StockNo> <Title>sample string 2</Title> <TradeIn>true</TradeIn> <Vehicle>sample string 8</Vehicle> <VehiclePriceRange>sample string 11</VehiclePriceRange> </LostLeadItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |