Hi Edoard, Try dev/api/programs/UID?fields=organisationUnits[id,name]
where UID is the UID of your program. Regards, Jason On Wed, Feb 28, 2018 at 10:44 AM, Edouard Lavaud <edouard.lav...@gmail.com> wrote: > Hi there, > > Using 2.28 and its web API, I need to find all the organisation units > which have been assigned a specific tracker program. > > Any idea how I could handle that? (I could loop through all OU and test > them, but that is not super beautiful, isn't it?) > > Thanks! > > Edouard > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > -- Jason P. Pickering email: jason.p.picker...@gmail.com tel:+46764147049
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp