Hi, community,
I have about 30 users and I want to use the API to create the accounts. On the payload we have the id (users id) and the userCredentials id. I know the user id is unique for every user, is this the same case for the userCredentials id and is it mandatory? If I leave it out will DHIS2 automatically generate it?
Hi @tiha,
Hope, it will be helpful for you: DHIS2 user create using web api – DHIS2 Web Portal
Regards
Julhas
I have developed an app ‘Users Importer’ to create bulk users under a parent facility with random user id and password. If you want, I can build it for you.
Hi Julhas,
Thanks for sharing the link, that was really helpful. I also managed to upload my payload with both user id and userCredential id, DHIS2 did not complain so I guess it’s okay to have it. Will test without it and see what happens.
That’s a great app for bulk user uploads, I know where to find one and a larger need arise.
regards
Hi Julhas,
Could you please share with me your App, I need to add bulk users, which I am doing it one by one.
Hi @mfadul,
Sure, please send me your root org unit UID. I will build it and send to you.
You can ping me on skype: julhas08.
Regards
Julhas