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