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 <dnmut...@gmail.com> 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@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp