From 84087a71b8fb632146dfb426dd828caf182e3776 Mon Sep 17 00:00:00 2001 From: sumit-gupta-sgt Date: Wed, 29 Jan 2014 16:20:46 +0530 Subject: [PATCH] Fix for Mifosx-814 Mifos-814 Add User for sendPasswordToEmail false --- api-docs/apiLive.htm | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index eae601083..875546d1a 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -18987,7 +18987,7 @@ GET https://DomainName/api/v1/users/{userId}
Mandatory Fields
- username, firstname, lastname, email, officeId, roles + username, firstname, lastname, email, officeId, roles, sendPasswordToEmail @@ -19005,13 +19005,36 @@ Request body: "lastname": "User", "email": "whatever@mifos.org", "officeId": 1, - "roles": [2,3] + "roles": [2,3], + "sendPasswordToEmail": true } { "officeId": 1, "resourceId": 11 +} + + +POST users +Content-Type: application/json +Request body: +{ + "username": "newuser", + "firstname": "Test", + "lastname": "User", + "email": "whatever@mifos.org", + "officeId": 1, + "roles": [2,3], + "sendPasswordToEmail": false, + "password": "123", + "repeatPassword": "123" +} + + +{ + "officeId": 1, + "resourceId": 12 }