diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 4a8d3c6a4..eb03cdd3a 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -316,6 +316,14 @@
The list capability of history can support pagination and sorting.
+Example Requests :
+GET https://DomainName/api/v1/standinginstructions/history
+
+{
+ "totalFilteredRecords": 2,
+ "pageItems": [
+ {
+ "standingInstructionId": 1,
+ "name": "ACC Transfer",
+ "fromOffice": {
+ "id": 1,
+ "name": "Head Office"
+ },
+ "fromClient": {
+ "id": 1,
+ "displayName": "Test client",
+ "officeId": 1,
+ "officeName": "Head Office"
+ },
+ "fromAccountType": {
+ "id": 2,
+ "code": "accountType.savings",
+ "value": "Savings Account"
+ },
+ "fromAccount": {
+ "id": 2,
+ "accountNo": "000000002",
+ "productId": 1,
+ "productName": "General Savings"
+ },
+ "toAccountType": {
+ "id": 2,
+ "code": "accountType.savings",
+ "value": "Savings Account"
+ },
+ "toAccount": {
+ "id": 1,
+ "accountNo": "000000001",
+ "productId": 1,
+ "productName": "General Savings"
+ },
+ "toOffice": {
+ "id": 1,
+ "name": "Head Office"
+ },
+ "toClient": {
+ "id": 1,
+ "displayName": "Test client",
+ "officeId": 1,
+ "officeName": "Head Office"
+ },
+ "amount": 10,
+ "status": "success",
+ "executionTime": [
+ 2014,
+ 6,
+ 30
+ ],
+ "errorLog": ""
+ },
+ {
+ "standingInstructionId": 2,
+ "name": "Pay overdues",
+ "fromOffice": {
+ "id": 1,
+ "name": "Head Office"
+ },
+ "fromClient": {
+ "id": 1,
+ "displayName": "Test client",
+ "officeId": 1,
+ "officeName": "Head Office"
+ },
+ "fromAccountType": {
+ "id": 2,
+ "code": "accountType.savings",
+ "value": "Savings Account"
+ },
+ "fromAccount": {
+ "id": 1,
+ "accountNo": "000000001",
+ "productId": 1,
+ "productName": "General Savings"
+ },
+ "toAccountType": {
+ "id": 1,
+ "code": "accountType.loan",
+ "value": "Loan Account"
+ },
+ "toAccount": {
+ "id": 1,
+ "accountNo": "000000001",
+ "productId": 1,
+ "productName": "Daily Loan"
+ },
+ "toOffice": {
+ "id": 1,
+ "name": "Head Office"
+ },
+ "toClient": {
+ "id": 1,
+ "displayName": "Test client",
+ "officeId": 1,
+ "officeName": "Head Office"
+ },
+ "amount": 7038.01,
+ "status": "success",
+ "executionTime": [
+ 2014,
+ 6,
+ 30
+ ],
+ "errorLog": ""
+ }
+ ]
+}
+
+