diff --git a/APIFolder/api.htm b/APIFolder/api.htm index e0a4cf5f7..de361a236 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -2417,7 +2417,7 @@ Request body: -   +  

Retrieve existing user details

@@ -2520,10 +2520,61 @@ Request body:
+   +
+
+

Create new user

+

Adds new application user to the platform.

+
+
+ POST https://thedomainname/api/v1/users +POST https://localhost:8443/mifosng-provider/api/v1/users +Content-Type: application/json +Request body: +{ + "officeId": 1, + "username": "newuser1", + "firstname": "Test", + "lastname": "User", + "email": "demomfi@mifos.org", + "selectedItems": ["1"] +} + + +{ + "entityId": 11 +} + +
+
- - - +   +
+
+

Update existing user

+

Update details of an existing application user.

+
+
+ PUT https://thedomainname/api/v1/users/11 +PUT https://localhost:8443/mifosng-provider/api/v1/users/11 +Content-Type: application/json +Request body: +{ + "officeId": 1, + "username": "newuser123", + "firstname": "Test", + "lastname": "User", + "email": "demomfi@mifos.org", + "selectedItems": ["1"] +} + + +{ + "entityId": 11 +} + +
+