diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 3cac9ece3..bf3ad2269 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -240,6 +240,14 @@
Allows you to modify or assign default overdraft savings account for existed Client.
+The selected savings account should be belongs to the client's.
+POST https://Domain Name/api/v1/clients/{clientId}?command=updateSavingsAccount
+ POST clients/1?command=updateSavingsAccount
+Content-Type: application/json
+Request Body:
+{
+ "savingsAccountId": "22"
+}
+
+
+{
+ "officeId":1,
+ "clientId":1,
+ "resourceId":1
+ ,"changes":{
+ "savingsAccountId":22
+ }
+}
+
+
{
- "id": 2,
- "accountNo": "000000002",
+ "id": 27,
+ "accountNo": "000000027",
"status": {
"id": 300,
"code": "clientStatusType.active",
"value": "Active"
},
+ "active": true,
"activationDate": [
- 2009,
- 3,
- 4
+ 2013,
+ 1,
+ 1
],
- "fullname": "Client of group",
- "displayName": "Client of group",
+ "firstname": "savings",
+ "lastname": "test",
+ "displayName": "savings test",
"officeId": 1,
"officeName": "Head Office",
"timeline": {
+ "submittedOnDate": [
+ 2013,
+ 1,
+ 1
+ ],
+ "submittedByUsername": "mifos",
+ "submittedByFirstname": "App",
+ "submittedByLastname": "Administrator",
"activatedOnDate": [
- 2009,
- 3,
- 4
+ 2013,
+ 1,
+ 1
],
"activatedByUsername": "mifos",
"activatedByFirstname": "App",
"activatedByLastname": "Administrator"
},
- "groups": [
- {
- "id": 1,
- "name": "Example Group"
- }
- ]
+ "savingsProductId": 4,
+ "savingsProductName": "account overdraft",
+ "groups": []
}