← Back to team overview

dhis2-users team mailing list archive

Data element details querying events

 

Hi all,

I'm working with the API  for an extraction system of the events captured
in our DHIS2 instances (v 2.22) and I was wondering if there's any possible
URL to call that brings the all bundle of events updated after some date
and with some more details about each event.

Currently I use this
who-dev.essi.upc.edu:8080/api/events.json?lastUpdated=2015-02-03

And the response is an array of events with this info per each:

{lastUpdated, storedBy, created, dataElement, value, providedElseWhere}

DataElement attribute is only the id of the DE, so it's seems to be needed
another call to get the details of the DE (event I'm only interested in its
form name).

Is there any possibility to avoid this second call? Thank you very much

Marc Garnica
Universitat Politècnica de Catalunya

Follow ups