POST api/quotes/updatelendingcriteria
Updates the Lender Configurator on Crm, seen in eqf_fulldecision table.
Request Information
URI Parameters
None.
Body Parameters
The applicant Id.
integerRequest Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A sequence of funder responses.
Collection of ERP.Api.Models.CustomerPortal.LoanProposalFunderResponseName | Description | Type | Additional information |
---|---|---|---|
Id |
Loan proposal Id (in our internal system - db) |
integer |
None. |
lenderid |
Funder (lender) Id in our system (db) |
integer |
None. |
lendername |
Display name of the funder (lender) |
string |
None. |
image |
Link to a lender logo image (should be stored on API side) |
string |
None. |
FunderReference |
Proposal reference returned by the lender (if available) |
string |
None. |
Status |
Proposal decision (status) returned by the funder (accepted / referred / declined / error) |
string |
None. |
LoanOffer |
Financial details of the proposal |
ERP.Api.Models.CustomerPortal.LoanFinancialDetails |
None. |
Errors |
Errors returned by the funder |
Collection of string |
None. |
DateReceived |
Date the proposal response was received |
date |
None. |
IsSelected |
Specifies if the customer decided to proceed with this proposal and selected it using customer portal |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "lenderid": 2, "lendername": "sample string 3", "image": "sample string 4", "funderReference": "sample string 5", "status": "sample string 6", "loanOffer": { "product": "sample string 1", "loanAmount": 2.0, "payment": 3.0, "rate": 4.0, "apr": 5.0, "fees": 6.0, "balloon": 7.0, "deposit": 8.0, "term": 9, "totalPayable": 10.0, "requiredProofs": [ { "id": "sample string 1", "label": "sample string 2", "description": "sample string 3", "docsRequired": 4 }, { "id": "sample string 1", "label": "sample string 2", "description": "sample string 3", "docsRequired": 4 } ] }, "errors": [ "sample string 1", "sample string 2" ], "dateReceived": "2025-01-18", "isSelected": true }, { "id": 1, "lenderid": 2, "lendername": "sample string 3", "image": "sample string 4", "funderReference": "sample string 5", "status": "sample string 6", "loanOffer": { "product": "sample string 1", "loanAmount": 2.0, "payment": 3.0, "rate": 4.0, "apr": 5.0, "fees": 6.0, "balloon": 7.0, "deposit": 8.0, "term": 9, "totalPayable": 10.0, "requiredProofs": [ { "id": "sample string 1", "label": "sample string 2", "description": "sample string 3", "docsRequired": 4 }, { "id": "sample string 1", "label": "sample string 2", "description": "sample string 3", "docsRequired": 4 } ] }, "errors": [ "sample string 1", "sample string 2" ], "dateReceived": "2025-01-18", "isSelected": true } ]
application/xml, text/xml
Sample:
<ArrayOfLoanProposalFunderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Api.Models.CustomerPortal"> <LoanProposalFunderResponse> <DateReceived>2025-01-18T23:58:09.6649457+00:00</DateReceived> <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Errors> <FunderId>2</FunderId> <FunderLogoUrl>sample string 4</FunderLogoUrl> <FunderName>sample string 3</FunderName> <FunderReference>sample string 5</FunderReference> <Id>1</Id> <IsSelected>true</IsSelected> <LoanOffer> <APR>5</APR> <Balloon>7</Balloon> <Deposit>8</Deposit> <Fees>6</Fees> <FinanceType>sample string 1</FinanceType> <FlatRate>4</FlatRate> <LoanAmount>2</LoanAmount> <Payment>3</Payment> <RequiredProofs> <RequiredProof> <Description>sample string 3</Description> <DocsRequired>4</DocsRequired> <Id>sample string 1</Id> <Label>sample string 2</Label> </RequiredProof> <RequiredProof> <Description>sample string 3</Description> <DocsRequired>4</DocsRequired> <Id>sample string 1</Id> <Label>sample string 2</Label> </RequiredProof> </RequiredProofs> <Term>9</Term> <TotalPayable>10</TotalPayable> </LoanOffer> <Status>sample string 6</Status> </LoanProposalFunderResponse> <LoanProposalFunderResponse> <DateReceived>2025-01-18T23:58:09.6649457+00:00</DateReceived> <Errors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Errors> <FunderId>2</FunderId> <FunderLogoUrl>sample string 4</FunderLogoUrl> <FunderName>sample string 3</FunderName> <FunderReference>sample string 5</FunderReference> <Id>1</Id> <IsSelected>true</IsSelected> <LoanOffer> <APR>5</APR> <Balloon>7</Balloon> <Deposit>8</Deposit> <Fees>6</Fees> <FinanceType>sample string 1</FinanceType> <FlatRate>4</FlatRate> <LoanAmount>2</LoanAmount> <Payment>3</Payment> <RequiredProofs> <RequiredProof> <Description>sample string 3</Description> <DocsRequired>4</DocsRequired> <Id>sample string 1</Id> <Label>sample string 2</Label> </RequiredProof> <RequiredProof> <Description>sample string 3</Description> <DocsRequired>4</DocsRequired> <Id>sample string 1</Id> <Label>sample string 2</Label> </RequiredProof> </RequiredProofs> <Term>9</Term> <TotalPayable>10</TotalPayable> </LoanOffer> <Status>sample string 6</Status> </LoanProposalFunderResponse> </ArrayOfLoanProposalFunderResponse>