Skip to main content

Setting Dynamic Properties

Clients can set their own properties dynamically using the dynamicPropertiesMap field in miSearchCriteria.

The client does this by adding custom JSON in the Lender Price UI. This custom JSON is used to map the client's custom data to the Lender Price API.

This feature is useful if the client wants to create custom fields. For example, if a client wants to create a custom field for citizenship, they need to pass the fieldId, the name which the field is recognized by, and the value.

Example:

"dynamicPropertiesMap": {
"Citizenship": {
"fieldId": "Citizenship",
"value": "US Citizen"
}
}

Retrieve Your Company's Dynamic Fields

important

The list of available dynamic fields is company-specific and can change over time. Each integration should call the getDynamicFields endpoint to retrieve the latest fields for their company rather than relying on a static list.

Request

GET {{domain}}/rest/getDynamicFields/{companyId}/{userId}

Headers:

HeaderValue
companyIdYour company ID
secretYour API secret (see Authentication)

Example Response

The endpoint returns an array of field definitions. Each field includes a fieldId (the key you use in dynamicPropertiesMap), a type that determines what values are accepted, and a validator with any constraints.

[
{
"id": "5e96220dfee78c52a88b6cc9",
"creationDate": "2020-04-14T20:50:21.000Z",
"modifiedDate": "2023-12-01T18:46:39.699Z",
"name": "FHA Case Assignment Date",
"fieldId": "FHACASEASSIGNDATE",
"type": "DateRange",
"addValueAsAdjustmentTag": false,
"validator": {
"@class": "com.cre8techlabs.entity.rate.adjustment.fields.DateRangeValidator",
"reversed": false,
"range": {
"@class": "com.cre8techlabs.entity.range.DateRangeLeGt",
"from": null,
"to": null
},
"type": "DateRange"
}
},
{
"id": "5e96220dfee78c52a88b6ccb",
"creationDate": "2020-04-14T20:50:21.000Z",
"modifiedDate": "2023-12-01T18:46:39.746Z",
"name": "FHA Endorsement Date",
"fieldId": "FHAENDORSEMENTDATE",
"type": "DateRange",
"addValueAsAdjustmentTag": false,
"validator": {
"@class": "com.cre8techlabs.entity.rate.adjustment.fields.DateRangeValidator",
"reversed": false,
"range": {
"@class": "com.cre8techlabs.entity.range.DateRangeLeGt",
"from": null,
"to": null
},
"type": "DateRange"
}
},
{
"id": "60be958cce8ad000010668a5",
"creationDate": "2021-06-07T21:54:20.000Z",
"modifiedDate": "2023-12-01T18:46:42.308Z",
"name": "Citizenship",
"tags": [],
"fieldId": "Citizenship",
"type": "Enum",
"addValueAsAdjustmentTag": false,
"validator": {
"@class": "com.cre8techlabs.entity.rate.adjustment.fields.EnumStringValidator",
"id": "60be958cce8ad000010668a6",
"reversed": false,
"selections": [
{
"name": "Foreign National",
"code": "Foreign National"
},
{
"name": "US Citizen",
"code": "US Citizen"
},
{
"name": "Foreign National (w/ ITIN)",
"code": "ForeignNationalwithITIN)"
},
{
"name": "ITIN",
"code": "ITIN"
},
{
"name": "Foreign National (No ITIN)",
"code": "ForeignNationalnoITIN)"
},
{
"name": "Non-Perm Resident",
"code": "Non-Perm Resident"
},
{
"name": "Perm Resident",
"code": "Perm Resident"
}
],
"valids": [],
"multi": false,
"type": "Enum",
"init": false
}
}
]

Using Fields in a Pricing Request

Once you have the list of available fields, use the fieldId as the key in dynamicPropertiesMap:

"dynamicPropertiesMap": {
"FHACASEASSIGNDATE": {
"fieldId": "FHACASEASSIGNDATE",
"value": "2023-05-15T18:58:41Z"
},
"Citizenship": {
"fieldId": "Citizenship",
"value": "US Citizen"
}
}

Default dynamicPropertiesMap Example

Below is an example of commonly defaulted fields inserted at the root of a search request. Always verify against your own getDynamicFields response.

"dynamicPropertiesMap": {
"GLOBAL_GIFTFUNDPERCENT": { "fieldId": "GLOBAL_GIFTFUNDPERCENT", "value": "0" },
"Citizenship": { "fieldId": "Citizenship", "value": "US Citizen" },
"IncomeDocType": { "fieldId": "IncomeDocType", "value": "Full Doc - 24M" },
"MORT30LATESLAST12M": { "fieldId": "MORT30LATESLAST12M", "value": "0" },
"MORT60LATESLAST12M": { "fieldId": "MORT60LATESLAST12M", "value": "0" },
"MORT90LATESLAST12M": { "fieldId": "MORT90LATESLAST12M", "value": "0" },
"MORT120LATESLAST12M": { "fieldId": "MORT120LATESLAST12M", "value": "0" },
"Global_DEEDINLIEU": { "fieldId": "Global_DEEDINLIEU", "value": "DIL_Null" },
"GLOBAL_Forbearances": { "fieldId": "GLOBAL_Forbearances", "value": "ForbearNone" },
"GLOBAL_RESERVES": { "fieldId": "GLOBAL_RESERVES", "value": "Reserves_12" },
"GLOBAL_BorrowerType": { "fieldId": "GLOBAL_BorrowerType", "value": "Individual" },
"GLOBAL_DELAYEDFINANCING": { "fieldId": "GLOBAL_DELAYEDFINANCING" },
"GLOBAL_NoMortgageHistory": { "fieldId": "GLOBAL_NoMortgageHistory" },
"Lateinlast12months": { "fieldId": "Lateinlast12months" },
"Lateinlast24months": { "fieldId": "Lateinlast24months" },
"FirstTimeInvestor": { "fieldId": "FirstTimeInvestor" },
"GLOBAL_MixedUse": { "fieldId": "GLOBAL_MixedUse", "value": "true" },
"PrepayTerm": { "fieldId": "PrepayTerm", "value": "12 Months" },
"PrePayment_Plan_Type": { "fieldId": "PrePayment_Plan_Type" }
}

Field Reference

The tables below list the available dynamic properties. These are example fields — your company's actual list may differ. Always call getDynamicFields for the authoritative list.

Global Fields

Field NameType / EnumsField ID
UnitNumberPROPERTYUNIT
FicoNumberFICO
Property Valuation TypeACE / PIW / Full Appraisal / HVE / FMP / Inspection / Streamline / 1004PVALUATIONTYPE
Exceed FHA LimitSingleLimitFHALIMITEXCEED
Mortgage 30 lates last 12 MonthsNumberRangeMORT30LATESLAST12M
Mortgage 30 lates last 24 MonthsNumberRangeMORT30LATESLAST24M
Mortgage 60 lates last 12 MonthsNumberRangeMORT60LATESLAST12M
Mortgage 60 lates last 24 MonthsNumberRangeMORT60LATESLAST24M
Mortgage 90 lates last 12 MonthsNumberRangeMORT90LATESLAST12M
Mortgage 90 lates last 24 MonthsNumberRangeMORT90LATESLAST24M
Bankruptcy last 12 MonthsNumberRangeBANKRUPTCYLAST12M
Chap.7 Bankruptcy last 12 MonthsNumberRangeCH7BANKRUPTCYLAST12M
Chap.13 Bankruptcy last 12 MonthsNumberRangeCH13BANKRUPTCYLAST12M
Chap.13 Bankruptcy last 24 MonthsNumberRangeCH13BANKRUPTCYLAST24M
Has Open CH12 BankruptcyBooleanOPENCH12BANKRUPCY
Foreclosure last 60 MonthsNumberRangeFORECLOSURELAST60M
Deed in Lieu last 24 MonthsNumberRangeDEEDINLIEULAST24M
DSCR Ratio>= 1.25 / 1.00-1.24x / 0.75-0.99x / < 0.75xDSCRRATIO
DTI> 50 / 43-50 / ≤ 43DTI
CitizenshipNon-Perm Resident / Perm Resident / US Citizen / Foreign NationalCitizenship
Income Doc TypeBank Statements - 24M / Full Doc - 24M / DSCR / 1099 - 12M / Full Doc - 12M / Asset Utilization / 1099 - 24M / Bank Statements - 12MIncomeDocType
Bankruptcy SeasoningBank Statements - 24M / Full Doc - 24M / DSCR / 1099 - 12M / Full Doc - 12M / Asset Utilization / 1099 - 24M / Bank Statements - 12MBankruptcySeasoning
Bankruptcy ChapterChapter 13 / Chapter 11 / Chapter 7BankruptcyChapter
Housing History0X30x24 / 1X30X12 / 0X60X12 / 0X30x12 / 0x90x12 / 0x120x12HousingHistory
FC/SS/DIL Seasoning7+ Years / Never / 4-7 Years / 2-4 Years / < 2 YearsFC/SS/DIL Seasoning
Prepay Term36 Months / 24 Months / 12 Months / NonePrepayTerm
Tradelines3 for 12+ Months / 2 for 24+ Months / LimitedTradelines
Interest OnlyBooleanInterestOnly
Escrow WaiverBooleanEscrowWaiver
First Time Home BuyerBooleanFirstTimeHomeBuyer
FHA Case Assignment DateDateFHACASEASSIGNDATE
FHA Endorsement DateDateFHAENDORSEMENTDATE
Affordable Housing TypeNone / HFAPreferred / HFAPreferredRiskSharing / HomeReady / HomePossible
Application Taken DateDateGlobal_APPLICATIONTAKENDATE
Execution TypeBest Efforts / MandatoryGlobal_EXECUTIONTYPE
Doc TypeFull Doc / 24 Mo. Personal Bank Statements / 12 Mo. Personal Bank Statements / 24 Mo. Business Bank Statements / 12 Mo. Business Bank Statements / Other Bank Statements / 24 Mo. CPA Prepared P&L / 12 Mo. CPA Prepared P&L / 24 Mo. Tax-Prepared P&L / 12 Mo. Tax-Prepared P&L / 1 Yr. Tax Returns / VOE / Asset Utilization / Debt Service Coverage (DSCR) / No RatioGlobal_DOCTYPE
Renovation LoanBooleanGlobal_RENOVATIONLOAN
Cashout Amount$Global_CASHOUTAMOUNT
Interest OnlyBooleanGlobal_INTERESTONLY
First Time Home BuyerBooleanGlobal_FIRSTTIMEHOMEBUYER
Self EmployedBooleanGlobal_SELFEMPLOYED
BuyDown3/2/1 / 2/1 / 1/1 / 1/0Global_BUYDOWN
Closed EndBooleanGlobal_CLOSEDEND
Balloon?BooleanGlobal_BALLOON
RuralBooleanGlobal_RURAL
Non-Occ CoBorrowerBooleanGlobal_NONOCCCOBWR
Prior Sale DateDateGlobal_PRIORSALEDATE
Construction Draw$Global_CONSTRUCTIONDRAW
Renovation Cost$Global_RENOVATIONCOST
Borrower CountNumberGlobal_NUMBEROFBWRS
Manufactured InitiativeMH Advantage / CHOICEHomeGlobal_MHINITIATIVE
AUS ResponseNone / DU_Approve_Eligible / DU_Approve_Ineligible / DU_OutOfScope / DU_ReferWith_Caution / DU_ReferWith_Caution_IV / DU_Refer_Eligible / DU_Refer_Ineligible / LP_Accept_Eligible / LP_Accept_Ineligible / LP_Caution_AMinusEligible / LP_Caution_Eligible / LP_Caution_IneligibleGlobal_AUSRESPONSE
CitizenshipUS Citizen / Permanent Resident / Non-Permanent Resident Alien / Non-Resident Alien / Foreign NationalGlobal_CITIZENSHIP
Closing DateDateGlobal_CLOSINGDATE
Community SecondBooleanGlobal_COMMUNITYSECOND
Relocation LoanBooleanGlobal_RELOCATIONLOAN
VA EligibleBooleanGlobal_VAELIGIBLE
PrePayment PenaltyBooleanGlobal_PREPAYMENTPENALTY
New ConstructionBooleanGlobal_NEWCONSTRUCTION
Texas 50(a)(6)BooleanGlobal_TX50A6
FHA Prog TypeNone / FHA 203(k) / FHA 203(h)Global_FHAPROGTYPE
ForeclosuresNone / >=2 Years / >=3 Years / >=4 Years / >=5 Years / >=7 Years / SettledGlobal_FORECLOSURES
Deed in LieuNone / >=2 Years / >=3 Years / >=4 Years / >=5 Years / SettledGlobal_DEEDINLIEU
Short SalesNone / >=2 Years / >=3 Years / >=4 Years / >=5 Years / SettledGlobal_SHORTSALES
BankruptciesNone / BK > 4 Years / CH 7 Discharge >=2 Yrs / CH 7 Discharge >=3 Yrs / CH 7 Discharge >=4 Yrs / CH 7 Discharge >=5 Yrs / CH 7 Discharge Settled / CH 11 BK >=2 Yrs / CH 11 BK >=3 Yrs / CH 11 BK >=5 Yrs / CH 11 Personal BK >=4 Yrs / CH 13 BK >=2 Yrs / CH 13 BK >=3 Yrs / CH 13 BK >=4 Yrs / CH 13 BK >=5 Yrs / CH 13 BK Settled / CH 13 Discharge >=2 Yrs / CH 13 Dismissal >=4 YrsGlobal_BANKRUPTCIES
# of Financed PropertiesNumberGlobal_FINANCED PROPERTIES
Target InvestorFNMA / FHLMC / FNMA and FHLMC / Ginnie Mae / and othersGlobal_TargetInvestor
FHA Purpose TypeFHA to FHA / Non-FHA to FHA / Streamlined Refinance without Appraisal / Streamlined Refinance with AppraisalGlobal_FHAPurposeType
Mortgage Insurance Payment TypeMonthly / Annually / SingleGlobal-MortgageInsurancePaymentType
TermsrangeGLOBAL_TERMS
Term (In Months)BooleanGLOBAL_TERMINMONTHS
ChannelForWholeSale / ForCorresponding / ForBroker / AsRetail / AllGLOBAL_CHANNEL
Channel SubTypeAll / NonDelegated / DelegatedGLOBAL_CHANNELSUBTYPE
LPMI EligibleTRUE / FALSEGLOBAL_LPMIELIGIBLE
Gift Fund %percentGLOBAL_GIFTFUNDPERCENT
Property is listedBooleanGLOBAL_PROPERTYLISTED
Covid ForbearanceBooleanGLOBAL_COVIDFORBEARANCE
Prepay LevelLevel 1 / Level 2GLOBAL_PREPAYLEVEL
Reserves12 Month LCRs / 6 Month LCRs / 3 Month LCRs / No LCRsGLOBAL_RESERVES

Company Level Fields

Field NameType / EnumsField ID
PremierBuilderbooleanCOMPANY_PremierBuilder
Adjustment SubtypesSales / Secondary marketing adjustor / None / TPO Perf Rating / Channel adjustor / Corporate adjustorADJ_SUBTYPES
Display FlagYes / NoCOMPANY_DisplayFlag
Channel SubtypeAll / NonDelegated / Delegated Bulk / Delegated Flow / Distributed Retail Encompass / Distributed Retail Loantrac / Consumer Direct RetailCOMPANY_CHANNELSUBTYPE
Bulk Deliveryboolean (allows NULL, True=Bulk)COMPANY_BULKDELIVERY
No VOR / VOMboolean (Null Available)COMPANY_NOVORVOM
Gift of Equityboolean (Null Available)COMPANY_GIFTOFEQUITY
DSCR RatioNo DSCR / DSCR >1.00 / DSCR =<1.00COMPANY_DSCRRATIO
Open BKboolean (Null Available)COMPANY_OPENBK
Not Currentboolean (Null Available)COMPANY_NOTCURRENT
Lease Option Buyoutboolean (Null Available)COMPANY_LEASEOPTIONBUYOUT
51% Owner Occupiedboolean (Null Available)COMPANY_51PERCENTOWNEROCC
Credit GradeA++ / A+ / A / A- / B / B- / C / DCOMPANY_CREDITGRADE
Bankruptcies< 4 years / < 3 years / < 2 years / < 1 yearCOMPANY_BANKRUPTCIES
Major Mortgage Event (FC/SS/DIL)< 4 years / < 3 years / < 2 years / < 1 year / Currently InCOMPANY_MAJOR MORTGAGEEVENT
SFR Used as Care FacilitybooleanCOMPANY_SFRUSEDASCAREFACILITY
Major Event SettledbooleanCOMPANY_MAJOREVENTSETTLED
Lending TypeConsumer Purpose / Business PurposeCOMPANY_LENDINGTYPE
Property TypeSFR/PUD / Condo / 2-4 Unit / Townhome / NonWarrantable Condo / CondotelCOMPANY_PROPTYPE
Property AttributesNone / Rural / Commercial Mixed Use / Commercial MultiFamilyCOMPANY_PROPERTYATTRIBUTES
Prepayment PenaltyNo Prepay / 1 Yr Prepay / 2 Yr Prepay / 3 Yr Prepay / 4 Yr Prepay / 5 Yr PrepayCOMPANY_PREPAYPENALTY
Borrower TypeIndividual / Multiple Individuals / Trust / LLC / S-Corp / C-CorpCOMPANY_BORROWERTYPE
Borrower AttributesNone / Non-Occupant Co Borrower / First Time Home BuyerCOMPANY_BORROWERATTRIBUTES
ITIN with VisaBooleanCOMPANY_ITIN
ACHBooleanCOMPANY_ACH
Income Doc TypeFull Document / Alt - 12 mo bank stmts / Lite - 6 mo bank stmts / NINA / NISA / No Doc (NINANE) / No Ratio (NIVA) / NIV (SISA) / NIV (SIVA) / VISA / No Doc Verif Assets / VINA / Alt Doc - 24 / Alt Doc - 12 / Alt Doc - VOE / Alt Doc - P&L / Alt Doc - K-1 / Alt Doc - 1099 / Alt Doc - AD-5 year / Re-Entry to Workforce / Contract w/in 60 days / 12 month Full doc / 12 month 1099 / 12 Month K-1COMPANY_INCOMEDOCTYPE
ChannelRefinance / New Construction / Company Generated / Discount Tier 1 / Employee Loan / Family LoanCOMPANY_CXSD_CHANNEL