dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50341
DHIS-2 API: Partial Update of organisation objects (extra attributes)
Hi,
Dhis-2 Developer Guide:
I have to use partial update Api to update the organisation unit attributes
.But could not get it. Can you please make sample for orgunit attribute
update using api.
*below is the api for Partial Update .*
The format for updating a single property is the same as when you are
updating a complete object, just with only 1 property in the JSON/XML file,
i.e.:
curl -X PATCH -d "{\"name\": \"New Name\"}" -H "Content-Type: application/json"
-u admin:district
https://play.dhis2.org/dev/api/26/dataElements/fbfJHSPpUQD/name
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Follow ups