← Back to team overview

dhis2-devs team mailing list archive

Updating events using the Web API

 

Hi guys,

we are using the Web API to update the values of 1 or 2 dataelements that
belong to a Single Event Without Registration program of more than 700 data
elements

The payload is something like that

{"program":"vLTSa8wPqQ8","orgUnit":"QS7sK8XzdQc","dataValues":[{"dataElement":"deeu8rjsqvH","value":20}]}

However, it seems that the updating also removes the values of the rest of
the dataelements. So, do we need to send a payload with all dataelements
with their current values? Is there other way to do this? (we can have
events of more than 1200 data points)

Regards
Jose