JSON file confusing

Hi everyone,

I want to create a JSON file to upload event data in my DHIS 2 instance and I have created an event program with 3 fields in demo sierra Leone. I have entered sample data and downloaded it in JSON format but there is too much information in it.

This is the sample data I have entered on the event program:

Can anyone help me remove unimportant items from the file. Please find the attached file.
Dados validados.json (1.5 KB)


Hello @fernando

here are the fields you need.

You can found more information here → Tracker - DHIS2 Documentation


"storedBy": "admin",

"program": "mVh0IXDTyWZ",

"orgUnit": "DiszpKrYNg8",

"status": "COMPLETED",

"eventDate": "2021-12-08T00:00:00.000",

"completedDate": "2022-01-06T00:00:00.000",

"dataValues": [{

    "lastUpdated": "2022-01-06T09:34:50.662",

    "created": "2022-01-06T09:34:50.662",

    "dataElement": "my02XxEHTfl",

    "value": "Caso domiciliar"

}, {

    "lastUpdated": "2022-01-06T09:34:50.662",

    "created": "2022-01-06T09:34:50.662",

    "dataElement": "KyYBHxNsFGp",

    "value": "2021-12-16"



1 Like