Hi devs,

I'm trying to update users throught the API. The property that I want to
update is the *"dataViewOrganisationUnits"*. I downloaded the json usind
the *.../api/users/uid.json* endpoint, then I changed the value of the
desired property an uploaded the new json file (see attached example) using
a *PUT* method. This has NOT worked, so I would really appreaciate if you
could guide me on how to do this.

DHIS version: 2.22
Build revision: 21969

Thanks,
Esunly


*Esunly Medina (PhD)*
Consultant, BAO Systems
+34 699-424-540 | [email protected] | http://www.baosystems.com |
Skype: esunly | 2900 K Street, Suite 404, Washington D.C. 20007

Attachment: user_example.json
Description: application/json

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to