dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37501
[dhis2-devs][web-api]Support for ! operator in trackedEntityInstances parameters?
Hi All
I am trying to get all the TEIs which are not of a particular tracked
entity. I tried with the ! operator but i don't think that this works.
Here is a template request I used to test on the dev server - [
*https://apps.dhis2.org/dev/api/trackedEntityInstances.json?ou=DiszpKrYNg8&ouMode=SELECTED&
<https://apps.dhis2.org/dev/api/trackedEntityInstances.json?ou=DiszpKrYNg8&ouMode=SELECTED&>trackedEntity!=cyl5vuJ5ETQ&pageSize=50&page=1&totalPages=true*
]
Now I am changing my approach and filtering the data after it is fetched.
But just to get this confirmed I am asking this question -
Is there a way by which I can do this with the Web API directly?
Thank You
Harsh