← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Create New track Entity through web API

 

I don't know i feedback to you is right or wrong?
My step doing is:
1. using command "CURL" to import track entity around 100records into DHIS2
with successfull.
2. And then i go to DHIS2 interface: "App->Individual Records" and then
choose one track entity for registering program
3. After registered program, the one record of track entity that just
registered got the blank attribute value.

You can look my video in attached file

On Thu, Feb 5, 2015 at 3:36 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
wrote:

> 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