Thanks to Jason, I see this is  working:
http://apps.dhis2.org/demo/api/organisationUnits.json?filter=level:eq:1
http://apps.dhis2.org/dev/api/organisationUnits.json?filter=level:eq:1
<http://www.google.com/url?q=http%3A%2F%2Fapps.dhis2.org%2Fdev%2Fapi%2ForganisationUnits.json%3Ffilter%3Dlevel%3Aeq%3A1&sa=D&sntz=1&usg=AFQjCNEIOZsxGq6ZgaqomkAtGOkH5ae3DA>




On Wed, Jun 11, 2014 at 8:03 AM, Knut Staring <knu...@gmail.com> wrote:

> I am trying to use the filtering as described in the manual:
> http://www.dhis2.org/doc/snapshot/en/user/html/ch30s06.html
>
> My goal is to do something like this (in order to find the Root OU), but
> the filter seems to have no effect?
> http://apps.dhis2.org/demo/api/organisationUnits?filter=parentid:null
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>



-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
_______________________________________________
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

Reply via email to