diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 48fc60ebc..db216eae6 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -183,6 +183,14 @@
Example Request:
Clients can be closed if they dont have any non-closed loans/savingsAccount. This API exists to close a client .
+If the client have any corresponding active loans/savingsAccount this API will result in an error.
+POST https://Domain Name/api/v1/clients/{clientId}?command=close
+ POST clients/1?command=close
+Content-Type: application/json
+Request Body:
+{
+ "dateFormat":"dd MMMM yyyy",
+ "locale":"en",
+ "closureDate":"25 June 2013",
+ "closureReasonId":"11"
+}
+
+
+{
+ "clientId":15,
+ "resourceId":15
+}
+
+