dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #35515
Re: Create New track Entity through web API
When you send in a TEI (Tracked entity instance), something like this:
{
"trackedEntity": "ID1",
"orgUnit": "ID2",
"attributes": [
{ "attribute": "att1", "value": "value" }
]
}
And then you send in another time with this payload
{
"trackedEntity": "ID1",
"orgUnit": "ID2",
"attributes": [
]
}
It will delete all the attribute values.. you must always make sure you
send the full TEI
--
Morten
On Thu, Feb 5, 2015 at 3:32 PM, channara rin <rin.channara@xxxxxxxxx> wrote:
> Hi Morten,
> Could you describe more detail for me, what should i do? for me it is seem
> difficult to understand.
>
Follow ups
References