← Back to team overview

dhis2-devs team mailing list archive

Re: Querying Events API for null or empty value

 

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 <https://jira.dhis2.org/secure/Dashboard.jspa> 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 <fleurybu@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

References