Omer_Butt
(Omer Butt)
1
Sir,
I am in searching of couple of API’s that respond according to my need.
1 :
Any API that can generate/create data element ???
2:
Any API that can add newly created data elements to specific data set.
Any Information regarding API’s that will help my problem.
Thanks.
Hi Omer,
api/metadata endpoint is used for creating new data elements. You can read more about it in the developer’s manual: https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_metadata_crud
Same section, specifically 1.9.4 - https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_adding_removing_objects_collections - has details how to add objects to collections (e.g. add data element to a data set)
Best,
Vlad
···
On Tue, Oct 10, 2017 at 1:50 AM Omer Butt omerbutt2521@gmail.com wrote:
Sir,
I am in searching of couple of API’s that respond according to my need.
1 :
Any API that can generate/create data element ???
2:
Any API that can add newly created data elements to specific data set.
Any Information regarding API’s that will help my problem.
Thanks.
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