POST api/Leads/SubmitLeadSalesForce
Request Information
URI Parameters
None.
Body Parameters
LeadsRequestSalesForce| Name | Description | Type | Additional information |
|---|---|---|---|
| SWP_DealerCode | integer |
Required |
|
| TITLE | TitleEnums |
Required |
|
| FIRST_NAME | string |
Required |
|
| LAST_NAME | string |
Required |
|
| EMAIL_ADDRESS | string |
None. |
|
| LEAD_CategoryDescription | string |
Required |
|
| LEAD_NUMBER | string |
Required |
|
| SF_ID | string |
Required |
|
| Stock_ID | string |
None. |
|
| Vehicle_Category | string |
None. |
|
| ID_Number | string |
None. |
|
| MobileNr | string |
None. |
|
| WorkTelNr | string |
None. |
|
| HomeTelNr | string |
None. |
|
| Brand | string |
None. |
|
| Series_Code | string |
None. |
|
| Series | string |
None. |
|
| Model | string |
None. |
|
| Model_Code | string |
None. |
|
| VINNr | string |
None. |
|
| Lead_Text | string |
None. |
|
| Lead_Description | string |
None. |
|
| Configuration_Code | string |
None. |
|
| statusByLeadConv | boolean |
None. |
|
| status | string |
None. |
|
| Opportunity_ID | string |
None. |
|
| Preferred_Com_Method | string |
None. |
|
| IsHot_Lead | string |
None. |
|
| Carline_ID | string |
None. |
|
| OrderNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SWP_DealerCode": 4,
"TITLE": 0,
"FIRST_NAME": "sample string 5",
"LAST_NAME": "sample string 6",
"EMAIL_ADDRESS": "sample string 7",
"LEAD_CategoryDescription": "sample string 8",
"LEAD_NUMBER": "sample string 9",
"SF_ID": "sample string 10",
"Stock_ID": "sample string 11",
"Vehicle_Category": "sample string 12",
"ID_Number": "sample string 13",
"MobileNr": "sample string 14",
"WorkTelNr": "sample string 15",
"HomeTelNr": "sample string 16",
"Brand": "sample string 17",
"Series_Code": "sample string 18",
"Series": "sample string 19",
"Model": "sample string 20",
"Model_Code": "sample string 21",
"VINNr": "sample string 22",
"Lead_Text": "sample string 23",
"Lead_Description": "sample string 24",
"Configuration_Code": "sample string 25",
"statusByLeadConv": true,
"status": "sample string 27",
"Opportunity_ID": "sample string 28",
"Preferred_Com_Method": "sample string 29",
"IsHot_Lead": "sample string 30",
"Carline_ID": "sample string 31",
"OrderNo": "sample string 32"
}
application/xml, text/xml
Sample:
<LeadsRequestSalesForce xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>1</ID> <SWP_LOG_ID>2</SWP_LOG_ID> <Integration_Company>sample string 3</Integration_Company> <SWP_DealerCode>4</SWP_DealerCode> <TITLE>Mr</TITLE> <FIRST_NAME>sample string 5</FIRST_NAME> <LAST_NAME>sample string 6</LAST_NAME> <EMAIL_ADDRESS>sample string 7</EMAIL_ADDRESS> <LEAD_CategoryDescription>sample string 8</LEAD_CategoryDescription> <LEAD_NUMBER>sample string 9</LEAD_NUMBER> <SF_ID>sample string 10</SF_ID> <Stock_ID>sample string 11</Stock_ID> <Vehicle_Category>sample string 12</Vehicle_Category> <ID_Number>sample string 13</ID_Number> <MobileNr>sample string 14</MobileNr> <WorkTelNr>sample string 15</WorkTelNr> <HomeTelNr>sample string 16</HomeTelNr> <Brand>sample string 17</Brand> <Series_Code>sample string 18</Series_Code> <Series>sample string 19</Series> <Model>sample string 20</Model> <Model_Code>sample string 21</Model_Code> <VINNr>sample string 22</VINNr> <Lead_Text>sample string 23</Lead_Text> <Lead_Description>sample string 24</Lead_Description> <Configuration_Code>sample string 25</Configuration_Code> <statusByLeadConv>true</statusByLeadConv> <status>sample string 27</status> <Opportunity_ID>sample string 28</Opportunity_ID> <Preferred_Com_Method>sample string 29</Preferred_Com_Method> <IsHot_Lead>sample string 30</IsHot_Lead> <Carline_ID>sample string 31</Carline_ID> <OrderNo>sample string 32</OrderNo> </LeadsRequestSalesForce>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LeadsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| SWP_Lead_ID | integer |
None. |
|
| Status | string |
None. |
|
| EcommerceIntegrated | boolean |
None. |
|
| SuccessfullyReserved | boolean |
None. |
|
| emailAddresses | Collection of string |
None. |
|
| returnEmailBodyAddition | string |
None. |
|
| VIN | string |
None. |
|
| dealerId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"SWP_Lead_ID": 2,
"Status": "sample string 3",
"EcommerceIntegrated": true,
"SuccessfullyReserved": true,
"emailAddresses": [
"sample string 1",
"sample string 2"
],
"returnEmailBodyAddition": "sample string 7",
"VIN": "sample string 8",
"dealerId": 9
}
application/xml, text/xml
Sample:
<LeadsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Message>sample string 1</Message>
<SWP_Lead_ID>2</SWP_Lead_ID>
<Status>sample string 3</Status>
<isNewLead>true</isNewLead>
<EcommerceIntegrated>true</EcommerceIntegrated>
<SuccessfullyReserved>true</SuccessfullyReserved>
<emailAddresses>
<string>sample string 1</string>
<string>sample string 2</string>
</emailAddresses>
<returnEmailBodyAddition>sample string 7</returnEmailBodyAddition>
<VIN>sample string 8</VIN>
<dealerId>9</dealerId>
</LeadsResponse>