I am very new to using DHIS2 and the API for analytics and research.
I want to pull data monthly for various dataElements. But, I want to know if there is a field in the database which says when a value was created or updated so that if I pull values for a month, I can distinguish those that were available at the last pull for example?
You can see the “lastUpdated” value when accessing raw, aggregate data through the “api/dataValueSets” endpoint. This information is also available through the various event/tracker endpoints and should be detailed in the documentation.
This information however is not available when accessing data through the “/api/analytics”.