Ah yes, I was assuming you were sending for an existing tracked entity. If not, you will need to create the TEI first
On Thursday, 7 July 2016, channara rin <[email protected]> wrote: > Hi morten. > you mean, i need run two commands through web api, first, create track > entity intance, then create program stage.? > > On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> Hi Channara >> >> You can follow the guides at [1] and then just add the >> "trackedEntityInstance" field to it to say the TEI it will add events for, >> and then the "programStage" to say which stage to add data for. >> >> [1] >> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html >> >> -- >> Morten Olav Hansen >> Senior Engineer, DHIS 2 >> University of Oslo >> http://www.dhis2.org >> >> On Thu, Jul 7, 2016 at 9:44 AM, channara rin <[email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> >>> Hi all DHIS2, >>> do you know how can i use webAPI for register new tracker instance with >>> multiple event? >>> >>> regards, >>> channara >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~dhis2-users >>> Post to : [email protected] >>> <javascript:_e(%7B%7D,'cvml','[email protected]');> >>> Unsubscribe : https://launchpad.net/~dhis2-users >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> > -- -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

