is there a way I can call all TEI in an instance without caring about program or orgUnit,
I mean if there a way I can call all TEIs that exists in an instance, thank you
You can use something like this.
trackedEntityType → The TrackedEntity you want to get the details
ou → You can mention the UID of the root Org unit
ouMode → This should be DESCENDANTS so that all the descendants of the root org unit are included
pageSize → an arbitrary number to get all the results (currently paging=false is broken in 18.104.22.168). If pageSize is not mentioned, you will only get 50 results.
Thank you this is so helpful