dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #49883
Re: DHIS-2 Developer guide : Using API's
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 <omerbutt2521@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References