Data quality (Validation rules) API

Hi All,

I’m trying to run the data quality report by API for validation rule like this :slight_smile:

api/dataAnalysis/validationRules?

with all parameters but the message I get is:

But in DHIS2 docs, i saw the exemple with results

what can I do?

Hello @Carloscnk Can you try just api/validationRules

https://play.dhis2.org/2.34.1/api/validationRules

Most likely it looks it was a typo in documentation Tagging @Karoline

I did like in doc but the message is what I saw in the top

Yes please try like below. It will work

https://play.dhis2.org/2.34.1/api/validationRules

Hi Jins,
I don’t want to list the validation rules but to execute them in API