Lead Post Specification
URL for HTTP POST method:
https://mtgxfer.com/leadPost.php
Request: Field Names (case sensitive)
| Field name | Values | Example |
| fname |
VARCHAR (75) |
John |
| lname |
VARCHAR (75) |
Doe |
| ad |
VARCHAR (75) |
123 Main St. |
| city |
VARCHAR (150) |
Newark |
| state |
VARCHAR (2) |
NJ |
| em |
VARCHAR (75) |
test@test.comp |
| ph |
VARCHAR (25) |
555-244-1948 |
| ph2 |
VARCHAR (25) |
555-244-1948 |
| ph3 |
VARCHAR (25) |
555-244-1948 |
| zip |
VARCHAR (5) |
19124 |
| ls |
VARCHAR (5) |
155 |
| employmentStatus |
VARCHAR |
Employed, Self-Employed, Unemployed or Retired |
| dealershipName |
VARCHAR |
Pacifico Ford |
| mortgageType |
VARCHAR |
refinance or purchase |
| loanAmount |
INT |
150000 |
| downPayment |
INT |
5000 |
| creditRating |
VARCHAR |
poor, fair, good, excellent |
| veteran |
VARCHAR(3) |
yes or no |
| referral |
VARCHAR(255) |
http://www.somewebsitename.com/ |
| hasAgent |
VARCHAR |
yes or no |
| movingTimeline |
VARCHAR |
30 days, 60 days, 90 days, this year |
| custom1 |
VARCHAR |
|
| custom2 |
VARCHAR |
|
| custom3 |
VARCHAR |
|
| custom4 |
VARCHAR |
|
| custom5 |
VARCHAR |
|
Response/Error Codes
| Response/Error Code | Type | Explanation/Reason |
| 1 |
Successful |
|
| 2 |
Error |
Missing first name. |
| 3 |
Error |
Missing last name. |
| 4 |
Error |
Missing email. |
| 5 |
Error |
Missing phone. |
| 6 |
Error |
Missing zip. |
| 8 |
Error |
Missing ls. |
| 9 |
Error |
Invalid phone or email. |
| 10 |
Error |
Duplicate email. |
| 11 |
Error |
Email/Phone validation failed. |