May be this works for you: */api/me?fields=id,name,organisationUnits[id,name,level,ancestors[id,name,level]]*
Harsh On 21 August 2017 at 10:25, Omer Butt <omerbutt2...@gmail.com> wrote: > Sir, > > I want to access current user organization unit and their hierarchy as > well. > > Means From that level to last level . > level 1 to level 5 of current org unit. > > Thanks. > > _______________________________________________ > 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 > >
_______________________________________________ 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