Have a look at the /api/me endpoint https://docs.dhis2.org/master/en/developer/html/webapi_current_user_information.html
-- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 17, 2017 at 1:30 PM, Omer Butt <omerbutt2...@gmail.com> wrote: > Sir, > I have test DHIS-2 API for getting data in XML and J SON form. > I checked API parameters for list of organization unit. But did not get > according to my need. > > *I need API for getting organization **hierarchy of current user login. * > > how to use parameter to access them ? > I tested but can't get like that. It give me all organization units. > > 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