Update user's dataViewOrganisationUnits

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



user_example.json (705 Bytes)


Esunly Medina (PhD)

Consultant, BAO Systems

+34 699-424-540 | emedina@baosystems.com | http://www.baosystems.com |

Skype: esunly | 2900 K Street, Suite 404, Washington D.C. 20007