Dhis2-Data API

hello community,

could you help to understand if developing this use case is possible with dhis2 api, this is the use case, you are given to conduct a survey you have designed a custom form in html,and there is a different app for data entry but i want to store this data in dhis2 meaning am going to use APIs making POST request. so which APIs can i use for dataValues ???
please specify for programs and data set

Hi @mugisha_alain

Yes, it’s possible to use the API to send data values both in Data Sets as well as Programs.

You can read more about the dataValueSets API endpoint Data - DHIS2 Documentation

For programs, you can use the /tracker/* API endpoints, read more about these here: Tracker - DHIS2 Documentation