← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS 2 -Developer Guide Api's

 

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 <omerbutt2521@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References