: How to find all Indicators that use a specific data element via the DHIS2 API? What is the best way to find all Indicators that use a specific DataElement? Do I have to search for the id
What is the best way to find all Indicators that use a specific DataElement? Do I have to search for the id in the numerator and denominator strings like this, or is there a better way?
/api/25/indicators?filter=numerator:like:HifxrAyx4sO
/api/25/indicators?filter=denominator:like:HifxrAyx4sO
More posts by @Hamaas447
1 Comments
Sorted by latest first Latest Oldest Best
Yes that is the best way at the moment. We do have primitive support for logical operators (applies to entire query) so you could combine it like
/api/indicators?filter=numerator:like:fbfJHSPpUQD&filter=denominator:like:fbfJHSPpUQD&rootJunction=OR
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.