dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #39476
Re: [Web API] Is there a way to do AND with filters?
Hi,
Sorry, seems the docs are a bit out of date. It was sent out on the mailing
list a while that this actually changed, all operators are now AND, it is
not possible to do any kind of OR operation (but you can use :in:[])
--
Morten
On Fri, Sep 4, 2015 at 2:58 PM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:
> Hi
>
> In the documentation it says (1.6. Meta-data object filter) :-
>
> Get all data elements with aggregation operator "sum" and value type "int":
>
> /api/dataElements.json?filter=aggregationOperator:eq:sum&filter=type:eq:int
>
> Is this really possible, can I do an AND over multiple filters? may be
> with another syntax if not this one......
>
>
> regards
> harsh
>
> _______________________________________________
> 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
>
>
Follow ups
References