*The Search API is responsible for taking a saved scenario or new search request, and performing the pre-processing following actions:
- Adjust the target price based on LO Compensation
- Adjust the target price based on Price Adjustments
- Splitting searches when necessary for investors that have different LO Comp and/or Price Adjustments
- Splitting searches when necessary for Conforming and NonConforming price adjustments
- Splitting searches when necessary to exclude Conforming or NonConforming based on Product Configuration
- Remove any investors that the company does not have access to (if a saved scenario has an investor that is no longer enabled)
- Adding in any Promotional Investors (when PROMO is included)
- Lookup and pass the appropriate ratesheet and tier for each investor
- Finally submit the request to engine via API
**When the engine result is returned, we perform the following post-processing actions:
- Adjust the price/discount/rebate to account for investor LO Compensation
- Adjust the price/discount/rebate to by the LSN configured Price Adjustments
- Adjust the Lender Fees to include LSN configured Fees
- Cache the results in redis
Format and return the data to the caller