Hello,
I tried to update a dataValue in an event program using this code in a JSON file.
{
"events": [
{
"event": "ZwwuwNp6gVd",
"dataValues": [
{
"dataElement": "bx6fsa0t90x",
"value": "true"
}
],
"orgUnit": "y77LiPqLMoq",
"program": "IpHINAT79UW",
"programStage": "A03MvHHogjR",
"status": "ACTIVE"
}
]
}
Yes the dataValue is updated but the other dataValues are erased. How can i update the value of just two or three data elements without affecting the other values?
NB: I am importing the data manually from a JSON file.
1 post - 1 participant