diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 063433ffb..8de48084e 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -7473,6 +7473,120 @@ No Request Body: "officeId": 1, "clientId": 1, "resourceId": 1 +} + + + + + +
Transactions possible on a savings account.
+Field Descriptions |
| transactionDate |
| The date of the transaction. |
| transactionAmount |
| The amount of the transaction. |
This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of: +
Example Requests:
+GET https://Domain Name/api/v1/savingsaccounts/{accountId}/transactions/template
+
+
+{
+ "accountId": 2,
+ "accountNo": "000000002",
+ "date": [
+ 2013,
+ 3,
+ 22
+ ],
+ "currency": {
+ "code": "USD",
+ "name": "US Dollar",
+ "decimalPlaces": 2,
+ "displaySymbol": "$",
+ "nameCode": "currency.USD",
+ "displayLabel": "US Dollar ($)"
+ }
+}
+
+ POST https://Domain Name/api/v1/savingsaccounts/{accountsId}/transactions?command=deposit
+ POST savingsaccounts/1/transactions?command=deposit
+Content-Type: application/json
+No Request Body:
+{
+ "dateFormat": "dd MMMM yyyy",
+ "locale": "en",
+ "transactionDate": "02 March 2011",
+ "transactionAmount": "256.67"
+}
+
+
+{
+ "officeId": 1,
+ "clientId": 1,
+ "savingsId": 1,
+ "resourceId": 1
+}
+
+ POST https://Domain Name/api/v1/savingsaccounts/{accountsId}/transactions?command=withdrawal
+ POST savingsaccounts/1/transactions?command=withdrawal
+Content-Type: application/json
+No Request Body:
+{
+ "dateFormat": "dd MMMM yyyy",
+ "locale": "en",
+ "transactionDate": "02 March 2011",
+ "transactionAmount": "99.50"
+}
+
+
+{
+ "officeId": 1,
+ "clientId": 1,
+ "savingsId": 1,
+ "resourceId": 2
}