Deposits Installation Guide
This document aims at explaining the installation procedures required to install the NZDEPO_Redemption_Container.war package successfully in the web application server.
System Requirements
The following are the pre-requisites for installing this package.
- Web application server.
- JDK.
- War files for IRIS components.
- Temenos Transact R202111 area.
General Considerations
When transferring the pack via FTP, the transport method must be set to binary.
Contents of the Package
The pack contains the NZDEPO_Redemption_Container.war file.
Steps for Installing the Package
The following steps are required for installing the package.

- Make sure the credential details are not commented in the jms.properties file available in the generated war file (NZDEPO_Redemption_Container.war\WEB-INF\ classes\).
- For the creation of the log file, add the location in the log4j2.properties file available in the location (NZDEPO_Redemption_Container.war\WEB-INF\classes\). For example, to create in the C directory, give the C:// in the highlighted property.
- The iris.log file will be created in the location below.

- Deploy the IRIS war in jboss, NZDEPO_Redemption_Container.war, in the following path: Temenos\jboss\standalone\deployments.
API Details
The API details are provided below.

The details are given below.
Endpoint |
URL |
---|---|
getInitiatedTermDepositRedemptions
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits/ termDeposits/redemptionInitiation |
getTermDepositRedemptions
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits /termDeposits/{termDepositId}/redemptions |
simulateTermDepositRedemption
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/ deposits/termDeposits/redemptions/simulations |
initiateTermDepositRedemption
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits/ termDeposits/redemptionInitiation |
createTermDepositRedemption
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits/ termDeposits/redemptions |
approveTermDepositRedemption
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits/ termDeposits/redemptionApprovals/{redemptionId} |
deleteTermDepositRedemptionInitiation
|
http://<hostname>:<jboss_port>/<iris_war>/api/v1.0.0/holdings/nz/deposits/ termDeposits/redemptionInitiation/{redemptionId} |
Provider API – Postman Response
The postman response for the provider API is given below.

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptions/simulations
Body:
{
"body": {
"termDepositId": "AA21105VYKZ1",
"redemptionEffectiveDate": "20210810",
"redemptionAmount": "10",
"redemptionType": "PARTIAL.BREAK",
"redemptionReason": "ACCOUNT.TRANSFERRED"
}
}

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptionInitiation
Body:
{
"body": {
"termDepositId": "12344",
"redemptionEffectiveDate": "20210810",
"redemptionAmount": "10",
"updatedRedemptionPenaltyInterest": "0.14",
"redemptionType": "PARTIAL.BREAK",
"redemptionReason": "ACCOUNT.TRANSFERRED"
}
}

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptionInitiation/{redemptionId}

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptions
Body:
{
"body": {
"termDepositId": "12344",
"redemptionEffectiveDate": "20210810",
"redemptionAmount": "10",
"updatedRedemptionPenaltyInterest": "0.14",
"redemptionType": "PARTIAL.BREAK",
"redemptionReason": "ACCOUNT.TRANSFERRED"
}
}

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptionApprovals/{redemptionId}

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/redemptionInitiation?termDepositId=AA2110548R4K

URL: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions
The Supported Query parameters to support multiple operations are as per below.
For Equals: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDate=20210810
For Less Than: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDateLessThan=20210810
For Greater Than: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDateGreaterThan=20210605
For Less Than or Equals: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDateLessThanOrEquals=20210810
For Greater Than or Equals: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDateGreaterThanOrEquals=20210605
For in between range: http://127.0.0.1:9089/NZDEPO_Redemption_Container/api/v1.0.0/holdings/nz/deposits/termDeposits/AA2110548R4K/redemptions?redemptionEffectiveDateBetween=20210605 20210810
In this topic