Lead

Lead

APIDescription
POST Lead/Add

Create Lead within Lendstream Backend system.

POST Lead/Upload?leadID={leadID}&documentTypeID={documentTypeID}&notes={notes}

Uploads document/file to the Lead

GET Lead/GetDocumentTypes

Return list of document types for entity selected. Used for document uploads

Monitoring

Controller for monitoring purposes. no Authorization is required.

APIDescription
GET Monitoring/IsAlive

Used for monitoring purposes

Calculator

Methods for Calculators used on Customer Web Sites

APIDescription
GET Calculator/GetDTI?mincome={mincome}&liabilities={liabilities}

Returns calculated DTI information

GET Calculator/GetMonthlyPayment?propertyPrice={propertyPrice}&downpayment={downpayment}&interestRate={interestRate}&term={term}&insurancePMTPercent={insurancePMTPercent}&propertyTaxPercent={propertyTaxPercent}

Returns calculated Monthly Payment information

GET Calculator/GetPropertyPrice?mincome={mincome}&liabilities={liabilities}&downpayment={downpayment}&interestRate={interestRate}&term={term}&MAXDti={MAXDti}

Returns calculated Maximum Property Price information

GET Calculator/GetInterestRate?LoanTypeID={LoanTypeID}&LoanPurposeID={LoanPurposeID}&LoanAmount={LoanAmount}&LoanTerm={LoanTerm}&CollateralTypeID={CollateralTypeID}&CollateralValue={CollateralValue}

Returns calculated interest rate for the monthly payment

GET Calculator/GetCurrencyRate?currencyCode={currencyCode}

Returns currency rate

Referral

APIDescription
POST Referral/Add

Saves referral invitation, returns ID of Referral Entity

GET Referral/Example

Returns example of Referral data

GET Referral/Status?referralID={referralID}

Returns status of Referral

Authenticate

Authentication based on API key and password. Information about Token should be added to the header

APIDescription
GET Authenticate/PartnerLogin?apiKey={apiKey}&apiPassword={apiPassword}

Authenticates partner and returns token with expiry. Credentials are issued by platform providers.

GET Authenticate/Login?userName={userName}&password={password}

Login for Developer's. Use this to get Token for Developer's workplace

POST Authenticate/Kill

Used to close session and make security token innactive.

PUT Authenticate/SaveCookie

Saves Cookie with related data

POST Authenticate/SaveReferralSourceCode?rfsc={rfsc}

Saves Referral source code to any type of Session