[Dhis2-devs] Querying Events API for null or empty value

2018-05-18 Thread Fleury Butoyi
Hi all,

Is there a way to filter empty or null values in an event  API query?

I am facing to a problem to get event data via API.

The problem I am facing is that I can't filter on empty or null values when
I am trying to access to events which have empty or null values using an
API query.

I've tried a query like this one: (
https://play.dhis2.org/2.29/api/events.json?program=uy2gU8kT1jF&filter=XorIxxprsOp:EQ:0)
but didn't work.

Could someone help me on this?

Best regards,

Fleury!
___
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


Re: [Dhis2-devs] Querying Events API for null or empty value

2018-05-21 Thread Abyot Asalefew Gizaw
Hi,

See this
https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#d12616e5594

Unfortunately, we don't have a mechanism to filter null values. Please
report a jira issue  and we
will consider in our future release plan.

--
Abyot A. Gizaw.
Senior Engineer, DHIS2
University of Oslo
http://www.dhis2.org


On Fri, May 18, 2018 at 5:53 PM Fleury Butoyi  wrote:

> Hi all,
>
> Is there a way to filter empty or null values in an event  API query?
>
> I am facing to a problem to get event data via API.
>
> The problem I am facing is that I can't filter on empty or null values
> when I am trying to access to events which have empty or null values using
> an API query.
>
> I've tried a query like this one: (
> https://play.dhis2.org/2.29/api/events.json?program=uy2gU8kT1jF&filter=XorIxxprsOp:EQ:0)
> but didn't work.
>
> Could someone help me on this?
>
> Best regards,
>
> Fleury!
> ___
> 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
>
___
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