dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #08766
API - update dataElement definitions
Dear all,
I am currently trying to change properties of existing DataElements via api
(esp. zeroIsSignificant). From the documentation I understand that I have to
read all significant metadata of the existing DataElement, change my property
and then push everything back via POST or PUT methods on
[/api/dataElements?strategy=UPDATE&mergeStrategy=MERGE] (Unfortunatly I can't
use the PATCH-method with my ETL tool)
Using this method, DHIS2 ignores the change, instead I get an importConflict
"Object already exists." in the result set.
Am I missing out on something?
Regards,
Uwe
Follow ups