PUT api/Application/Save?preApprovalID={preApprovalID}
Saves Application entity, used for create and update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
preApprovalID |
ID of PreApproval object |
string |
None. |
Body Parameters
LoanEntityName | Description | Type | Additional information |
---|---|---|---|
LoanID | string |
None. |
|
Purpose |
OBSOLETE: Use LoanPurposeID instead 0 - Purchase, 1 - Purchase/Reconstruction, 2 - Check Affordability |
string |
None. |
PurchasePrice | decimal number |
Range: inclusive between 0 and 10000000 |
|
Amount | decimal number |
Required Range: inclusive between 0 and 10000000 |
|
DownPayment | decimal number |
Range: inclusive between 0 and 10000000 |
|
Term |
Loan term in months |
integer |
Required Range: inclusive between 0 and 600 |
MaxAmount |
Yes='Y', No='N' |
string |
Required String length: inclusive between 0 and 1 |
MinDownpayment |
Yes='Y', No='N' |
string |
Required String length: inclusive between 0 and 1 |
MaxTerm |
Borrower wnat get maximum term. Yes='Y', No='N' |
string |
Required String length: inclusive between 0 and 1 |
Improvements |
In case purpose is reconstruction, system should ask for it. In this case Loan amount = purchase price + improvements - downpayment |
decimal number |
Range: inclusive between 0 and 10000000 |
IsReferred |
If property was referred by, Purchase price should be locked |
boolean |
None. |
LoanTypeID |
Loan type comming form Configuration API |
string |
String length: inclusive between 0 and 12 |
LoanPurposeID |
Loan Purpose comming from Configuration API |
string |
String length: inclusive between 0 and 12 |
Request Formats
application/json, text/json
{ "LoanID": "sample string 1", "Purpose": "sample string 2", "PurchasePrice": 3.0, "Amount": 4.0, "DownPayment": 5.0, "Term": 6, "MaxAmount": "sample string 7", "MinDownpayment": "sample string 8", "MaxTerm": "sample string 9", "Improvements": 10.0, "IsReferred": true, "LoanTypeID": "sample string 12", "LoanPurposeID": "sample string 13" }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessage
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |