POST v1/api/CreateLead?caseId={caseId}
Create a Lead on Salesforce
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| caseId |
(optional) a unique identifier used to Create, Save and Send an application. |
string |
None. |
Body Parameters
LeadRequestDto
LeadRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadId | string |
None. |
|
| PreScreenId | string |
None. |
|
| AffilliateCode | string |
None. |
|
| BrowserInstance | BrowserInstanceDto |
None. |
|
| CompanyId | SBLICompanyEnum |
None. |
|
| ContactInformation | ContactInfoDto |
None. |
|
| ContractState | StateCodeEnum |
None. |
|
| BirthDate | date |
None. |
|
| DateOfVisit | date |
None. |
|
| DelayNewCaseSeconds | integer |
None. |
|
| EntityId | string |
None. |
|
| FamilyCancerOrCardioDeath | string |
None. |
|
| FirstName | string |
None. |
|
| Gender | GenderEnum |
None. |
|
| Height | HeightsEnum |
None. |
|
| Income | decimal number |
None. |
|
| InsuranceAge | integer |
None. |
|
| LastName | string |
None. |
|
| LengthOfCoverage | string |
None. |
|
| MaritalStatus | MaritalStatusEnum |
None. |
|
| Prescreen | PrescreenDto |
None. |
|
| ProductInterest | ProductInterestDto |
None. |
|
| Risk | RiskDto |
None. |
|
| SmokingHistory | string |
None. |
|
| URL | string |
None. |
|
| UTM_URL | string |
None. |
|
| UTM_Term | string |
None. |
|
| Weight | integer |
None. |
Response Information
Resource Description
success
LeadResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LeadId | string |
None. |
|
| PreScreenId | string |
None. |
|
| Errors | string |
None. |