GET v1/lifeLoan/loanInformation?policyNo={policyNo}&user_id={user_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyNo | string |
Required |
|
| user_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
loanInformationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| errorMsg | string |
None. |
|
| maxLoanAmount | decimal number |
None. |
|
| processignFee | decimal number |
None. |
|
| interestRate | decimal number |
None. |
|
| maxLoanDuration | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"errorMsg": "sample string 3",
"maxLoanAmount": 4.0,
"processignFee": 5.0,
"interestRate": 6.0,
"maxLoanDuration": 7.0
}
application/xml, text/xml
Sample:
<loanInformationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/unifiedApp.Models.Loan"> <errorMsg>sample string 3</errorMsg> <interestRate>6</interestRate> <maxLoanAmount>4</maxLoanAmount> <maxLoanDuration>7</maxLoanDuration> <message>sample string 2</message> <processignFee>5</processignFee> <success>true</success> </loanInformationResult>
text/html
Sample:
{"success":true,"message":"sample string 2","errorMsg":"sample string 3","maxLoanAmount":4.0,"processignFee":5.0,"interestRate":6.0,"maxLoanDuration":7.0}