Deleted Tracked Entity Instances

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

3 Likes

Thank you very much. It’s working.

Kabango

1 Like

You’re welcome, please mark the post as Solution :grinning:.

1 Like