← Back to team overview

dhis2-devs team mailing list archive

Re: Create New track Entity through web API

 

Hi

It will delete them yes, but it will also associate the new ones that are
in the payload. Remember that POST/PUT are not doing partial updates, so
whatever is in the payload you are sending, is the whole new object.

We have support for partial (single property only) updates in 2.18 [1].

[1]
https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s08.html#d5e1074

--
Morten

On Thu, Feb 5, 2015 at 11:44 AM, channara rin <rin.channara@xxxxxxxxx>
wrote:

> Hi all Developer,
> I met problem is After i success import track entity by using command curl
> like: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s35.html
> And then i register those track with program i saw the DHIS2 delete all
> attribute values in track entity.
> Help me how to solve this problem???
>
>
> Thank you
> CHANNARA
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References