diff --git a/APIFolder/api.htm b/APIFolder/api.htm index 816a81c93..b5ecf9e81 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -10,7 +10,6 @@
Loan stuff. +
+Returns a template that contains client and loan product fields and allowed value lists. This helps build a maintenance User Interface. +
+Example Request: + http://localhost:8080/mifosng-provider/api/v1/loans/template?clientId=1&productId=1 +
+GET https://thedomainname/api/v1/loans/template
+ to be done
+
+ Returns loan fields. +
+Example Request: + http://localhost:8080/mifosng-provider/api/v1/loans/1 +
+GET https://thedomainname/api/v1/loans/{loanId}
+
+
+ POST https://thedomainname/api/v1/loans
+ http://localhost:8080/mifosng-provider/api/v1/loans
+
+
+ Content-Type: application/json
+ Request Body:
+ new json here
+
+ {
+ "entityId": 2
+}
+
+ POST https://thedomainname/api/v1/loans/{loanId}
+ http://localhost:8080/mifosng-provider/api/v1/loans/1?command=approve
+
+
+ Content-Type: application/json
+ Request Body:
+ new json here
+
+ {
+ "entityId": 2
+}
+
+ DELETE https://thedomainname/api/v1/loans/{loanId}
+ http://localhost:8080/mifosng-provider/api/v1/loans/1
+
+
+ Content-Type: application/json
+ Request Body:
+ new json here
+
+ {
+ "entityId": 2
+}
+
+ POST https://thedomainname/api/v1/loans/{loanId}/undo
+ http://localhost:8080/mifosng-provider/api/v1/loans/1/undo
+
+
+ Content-Type: application/json
+ Request Body:
+ new json here
+
+ {
+ "entityId": 2
+}
+
+ Returns a template that contains client and loan product fields and allowed value lists. This helps build a maintenance User Interface. +
+Example Request: + http://localhost:8080/mifosng-provider/api/v1/loans/template?clientId=1&productId=1 +
+GET https://thedomainname/api/v1/loans/template
+ to be done
+
+