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 @@
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
+}
+
+ 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
+}
+
+ 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}
+}
+
+ 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}
+}
+
+