[Dhis2-devs] User Creation failing via Metadata API.

2014-06-17 Thread Kiran Prakash
Hello, We are using metadata api to create user, the post payload looks like this. { users: [ { disabled: false, organisationUnits: [ { name: MSF, id: 2cf79e8f137 } ],

Re: [Dhis2-devs] User Creation failing via Metadata API.

2014-06-17 Thread Jason Pickering
I do not know the details here, but do know that the IDs (i.e. DHIS2 UIDs) cannot begin with a number. See here for more information https://www.dhis2.org/doc/snapshot/en/user/html/go01.html This was discussed just a few days ago on this list. Regards, Jason On Tue, Jun 17, 2014 at 11:58

Re: [Dhis2-devs] User Creation failing via Metadata API.

2014-06-17 Thread Morten Olav Hansen
Hi We are using metadata api to create user, the post payload looks like this. { users: [ { disabled: false, Why do you have this here? this is part of userCredentials organisationUnits: [ { name: MSF,