A request came in to be able to filter by catOptionCombo or dataElement (both of which are normally returned in a dataValueSets call). Per the docs ( https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_reading_data_values), data values can be queried with a bunch of parameters, but not those two. Is the api/dataValueSets endpoint using a different engine than the metadata API?
categoryOptionCombo filter example https://play.dhis2.org/demo/api/dataValueSets?startDate=2010-01&endDate=2017-03&orgUnit= DiszpKrYNg8&dataElementGroup= qfxEYY9xAl6&categoryOptionCombo=PT59n8BQbqM&limit=2 dataElement filter example https://play.dhis2.org/demo/api/dataValueSets?startDate=2010-01&endDate=2017-03&orgUnit= DiszpKrYNg8&dataElementGroup= qfxEYY9xAl6&dataElement=fbfJHSPpUQD&limit=2 In both of these examples you will see DEs or CatOptCombos not matching the one provided. Are they stuck with post api call filtering? Thanks! -- Greg Wilson BAO Systems gwil...@baosystems.com
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp