← Back to team overview

dhis2-devs team mailing list archive

Querying Events API for a data value

 

Hi,

Is there a way to filter the Event API for a data value (to only return
events where it matches to the value)?

What I tried:

   - Variations of this (undocumented) call but get events back where the
   value != 12  --
   https://play.dhis2.org/2.29/api/events.json?program=q04UBOqq3rp&filter=lsJCUffec9h:eq:12

   - /api/analytics/events/query/programUID.json?dimension=... works but
   this has two shortcomings: Analytics need to be run and dimension/period
   restrictions where I need the response instantly, across all periods.

Happy to create a JIRA issue if requested.

Best,
David


-- 


*David Huser*
DHIS2 Support Specialist
dhuser@xxxxxxxxxxxxxx | https://baosystems.com |  2900 K Street, Suite 507,
Washington D.C. 20007