0

I need to create new API in DHIS2 2.38.1.1, by customizing the DHIS2 core. But I don't know how to start. Any one can help me the steps how to create new API in DHIS 2 core?

Thanks

I hade created approvalValidationRule in the dhis -api , service and when I run and try to access it. I get an error http://localhost:8080/dhis/api/approvalValidationRules:- 404 No mapping for GET /dhis/api/29/approvalValidationRules . But in http://localhost:8080/dhis/api/resources I found in the api resource list as follows

<resource>
  <displayName>Approval Validation Rules</displayName>
  <singular>approvalValidationRule</singular>
  <plural>approvalValidationRules</plural>
  <href>http://localhost:8080/dhis/api/approvalValidationRules</href>
</resource>

0 Answers0