dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #10921
Re: [Dhis2-devs] Tracker Relationship API
Hi Morten,
Many thanks for this. I will add it to my json payload.Hope this will be
added to the online documentation too.
rgds
David
On 27 Jul 2016 10:12, "Morten Olav Hansen" <morten@xxxxxxxxx> wrote:
> Hi
>
> Yes, you can add this to your create or update TEI payload:
> "relationships": [
> { "trackedEntityInstanceA": "UID of TEI A", "trackedEntityInstanceB":
> "UID of TEI B" }
> ]
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Tue, Jul 26, 2016 at 9:13 PM, David Muturi <dnmuturi@xxxxxxxxx> wrote:
>
>> Hello Dhis2 team,
>> Is there a way of creating relationships between enrolled TEI's via the
>> API similar to enrollment as described in the dhis2 docs here
>> http://dhis2.github.io/dhis2-docs/master/en/developer/html/dhis2_developer_manual_full.html#d7532e12063
>>
>> rgds
>> David
>>
>> _______________________________________________
>> 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
>>
>>
>
References