Hie All, I would like to know if there is an API which pulls deleted tracked entity instances. I use the API below to pull TEIs which gives me only active ones. I know there are deleted ones in there which I want to view.
https://your-server-here/api/trackedEntityInstances.json?ou=SDWZXF7gNPa&ouMode=SELECTED&program=LjG6XyqGY7H&fields=:all&skipPaging=true
Thank you in advance.
Kabango
Hello @Kabango_Malewezi
You can use includeDeleted=true parameter.
For more information here : Tracker - DHIS2 Documentation
Thank you very much. It’s working.
You’re welcome, please mark the post as Solution .