details
- base
- localhost
- dev
- prod
/v2/private/salesAgent/aa/fe/details/{leadId}
http://localhost:1350/v2/private/salesAgent/aa/fe/details/{leadId}
https://dev.everdays.com/v2/private/salesAgent/aa/fe/details/{leadId}
https://everdays.com/v2/private/salesAgent/aa/fe/details/{leadId}
Available Methods​
- [POST]
POST /v2/private/salesAgent/aa/fe/details/{leadId}​
This endpoint is used by a Sales Agent to submit the quoteInfo and orderDecision ep for a lead and creates an order.
info
The user calling this endpoint must be Sales Agent / Counselor or Everdays Admin
Params​
| Param | Type | Description |
|---|---|---|
firstName | String | The lead's first name. |
lastName | String | The lead's last name. |
dateOfBirth | Date | The lead's birthday. |
gender | Enum - ['Male', 'Female'] | The lead's gender. |
street | String | The lead's street address. |
street2 | String | The lead's APT number, suite number etc. |
heightInFeet | Integer | The lead's height in feet. |
heightInInches | Integer | The lead's height in inches. |
weight | Integer | The lead's weight (in pounds). |
city | String | The lead's city. |
state | String | The lead's state. |
zip | Integer | The lead's postal code. |
phone | Number | The lead's phone number. |
email | String | The lead's email address. |
occupation | String | The lead's occupation. |
annualSalary | Integer | The lead's annual salary. |
driversLicenseNumber | String | The lead's driver's license number. |
birthState | String | The state where the lead was born. |
stateIssued | String | The state that issued the lead's ID. |
ssn | Number | The lead's social security number (SSN). |
Request Example​
Example request body
{
"firstName": "George",
"lastName": "Washington test",
"dateOfBirth": "1951-03-07",
"gender": "Male",
"street": "164 W Walnut Ave",
"heightInFeet": 5,
"heightInInches": 10,
"weight": 180,
"city": "Rialto",
"state": "CA",
"zip": 92376,
"phone": 2105559289,
"email": "amora2105559289@everdays.com",
"occupation": "welder",
"annualSalary": 100000,
"driversLicenseNumber": "13fe313",
"birthState": "CA",
"stateIssued": "CA",
"ssn":321556785
}
Returns​
The user and populates fields in purchase.aa
Example return of am am object
data: {
...userData,
purchase: {
aa: {
fe: {
"appNumber": 1048108,
"planType": "Immediate",
"transactionId": 43066
}
}
}
}