← Back to team overview

dhis2-devs team mailing list archive

Re: Org Unit API

 

https://apps.dhis2.org/dev/api/organisationUnits?filter=level:eq:3

This is the new way of filtering properties, you can read about it at [1],
there might be some performance issues with extremely large number of OUs,
but we are building a criteria based filter for 2.17 (if we can get it
ready in time).

[1] https://www.dhis2.org/doc/snapshot/en/user/html/ch32s06.html

--
Morten


On Sat, Aug 16, 2014 at 10:07 PM, Mahendra Kariya <
mahendra.kariya@xxxxxxxxxxxxxxxx> wrote:

> Hi,
>
> We are customizing DHIS2 for MSF.
>
> We were trying to get all org units at level 3 using
> http://localhost:8080/api/organisationUnits?level=3 but we are getting
> NullPointerException. Has the API changed or is it a bug?
>
>
>
> Thanks,
> Mahendra
> *Thought*Works
>

Follow ups