Thread Previous • Date Previous • Date Next • Thread Next |
You can also combine multiple filters btw, not sure what you are looking for. https://apps.dhis2.org/dev/api/organisationUnits?filter=level:eq:3&filter=parent.id:eq:O6uvpzGd5pu -- Morten On Sat, Aug 16, 2014 at 10:44 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx> wrote: > 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 >> > >
Thread Previous • Date Previous • Date Next • Thread Next |