GET api/savings/InterestRate?productID={productID}&termPeriodID={termPeriodID}&termPeriodNumber={termPeriodNumber}&agreedAmount={agreedAmount}
Fetch interest rate for the changed agreed amount.
Requires Authorisation
The api request must supply authenticated token in a custom variable in the request header. The custom variable name is configured in web.config. The default name of the custom variable is “X-Fern-Token”.
Requires Api License and User Access
The api requires license and user permission for API ID, GETapi/savings/InterestRate. The user permission can be defined on User Settings screen in Abacus. For license, please contact Fern manager.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productID |
Savings Product ID. |
integer |
Required |
| termPeriodID |
Selected Term Period ID. |
integer |
Required |
| termPeriodNumber |
Given Term Period Number. |
integer |
Required |
| agreedAmount |
Given Agreed Amount. |
decimal number |
Required |
Body Parameters
None.
Response Information
Response Codes
Success Status:
- OK (200), please see resource description below.
Failed Status(es):
Resource Description
Interest Rate
decimal numberResponse Formats
application/json, text/json
Sample:
1.1
application/xml, text/xml
Sample:
<double xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1.1</double>