blockingValidate

abstract fun blockingValidate(dataSetUid: String, periodId: String, orgUnitUid: String, attributeOptionComboUid: String): ValidationResult

Run the validation associated to a particular dataSets returning a ValidationResult. This result contains the list of validation conflicts. Important: this is a blocking method and it should not be executed in the main thread. Consider the asynchronous version .validate.

Return

Validation result

Parameters

dataSetUid

DataSet uid to run the validation rules

periodId

Validation period

orgUnitUid

Organisation unit uid to run the validation rules

attributeOptionComboUid

AttributeOptionCombo uid to run the validation rules