diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 34b8af6db..eeb1df727 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -12704,6 +12704,52 @@ Request Body: + +
Results in an Activated savings application being converted into an 'closed' savings account.
+POST https://Domain Name/api/v1/savingsaccounts/{savingsId}?command=close
+ POST savingsaccount/5?command=close
+Content-Type: application/json
+Request Body:
+ {
+ "dateFormat":"dd MMMM yyyy",
+ "locale":"en",
+ "closedOnDate":"26 August 2013",
+ "note":"close note"
+ }
+
+
+{
+"officeId":1,
+"clientId":1,
+"savingsId":5,
+"resourceId":5,
+"changes":{
+ "status":{
+ "id":600,
+ "code":"savingsAccountStatusType.closed",
+ "value":"Closed",
+ "submittedAndPendingApproval":false,
+ "approved":false,
+ "rejected":false,
+ "withdrawnByApplicant":false,
+ "active":false,
+ "closed":true
+ },
+ "locale":"en",
+ "dateFormat":"dd MMMM yyyy",
+ "closedOnDate":"26 August 2013",
+ "note":"close note"
+ }
+}
+
+