From 18fda5d5d746034941a8360148afd09d5b2a7dae Mon Sep 17 00:00:00 2001 From: Chandrika Date: Mon, 15 Sep 2014 17:29:28 -0400 Subject: [PATCH] MIFOSX-1252Java API documentation added for Loan officer and Savings Officer --- api-docs/apiLive.htm | 174 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index e69f76042..eeafcd99f 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -425,6 +425,22 @@ + + + savingsaccounts/{accountId}?command=assignFieldOfficer + Assign Savings Officer + + + + + + + savingsaccounts/{accountId}?command=unassignFieldOfficer + Unassign Savings Officer + + + + savingsaccounts/{accountId}?command=reject @@ -893,6 +909,22 @@ + + + loans/{loanId}?command=assignLoanOfficer + Assign a Loan Officer + + + + + + + loans/{loanId}?command=unassignLoanOfficer + Unassign a Loan Officer + + + + loans/{loanId}?command=reject @@ -8094,6 +8126,64 @@ Request Body: +   +
+
+

Assign a Loan Officer

+

Allows you to assign Loan Officer for existing Loan.

+
+
+ POST https://Domain Name/api/v1/loans/{loanId}?command=assignLoanOfficer + POST loans/1?command=assignLoanOfficer +Content-Type: application/json +Request Body: +{ + "toLoanOfficerId":2, + "assignmentDate":"02 September 2014", + "locale":"en", + "dateFormat":"dd MMMM yyyy", + "fromLoanOfficerId":"" +} + + +{ + "officeId": 2, + "clientId": 6, + "loanId" : 3, + "resourceId": 3 +} + +
+
+ +   +
+
+

Unassign a Loan Officer

+

Allows you to unassign the Loan Officer.

+
+
+ POST https://Domain Name/api/v1/loans/{loanId}?command=unassignLoanOfficer + POST clients/1?command=unassignLoanOfficer +Content-Type: application/json +Request Body: +{ + "unassignedDate":"15 September 2014", + "locale":"en", + "dateFormat":"dd MMMM yyyy" +} + + +{ + "officeId":2, + "clientId":6, + "loanId":3, + "resourceId":3 +} + +
+
+  
@@ -18723,6 +18813,58 @@ Request Body:
+  +
+
+

Assign Savings Officer

+

Allows you to assign Savings Officer for existing Savings Account.

+
+
+ POST https://Domain Name/api/v1/savingsaccounts/{savingsId}?command=assignFieldOfficer + POST savingsaccounts/1?command=assignFieldOfficer +Content-Type: application/json +Request Body: +{ + "staffId":1 +} + + +{ + "officeId":2, + "clientId":8, + "resourceId":8, + "changes":{"staffId":1} +} + +
+
+ +   +
+
+

Unassign Savings Officer

+

Allows you to unassign the Savings Officer.

+
+
+ POST https://Domain Name/api/v1/savingsaccounts/{savingsId}?command=unassignFieldOfficer + POST savingsaccounts/1?command=unassignFieldOfficer +Content-Type: application/json +Request Body: +{ + "staffId":1 +} + + +{ + "officeId":2, + "clientId":8, + "resourceId":8, + "changes":{"staffId":1} +} + +
+
+  
@@ -32476,6 +32618,22 @@ No Request Body: + + + loans/{loanId}?command=assignLoanOfficer + Assign a Loan Officer + + + + + + + loans/{loanId}?command=unassignLoanOfficer + Unassign a Loan Officer + + + + loans/{loanId}?command=reject @@ -33269,6 +33427,22 @@ No Request Body: + + + + savingsaccounts/{accountId}?command=assignFieldOfficer + Assign Savings Officer + + + + + + + savingsaccounts/{accountId}?command=unassignFieldOfficer + Unassign Savings Officer + + +