Hi all DHIS2,
do you know how can i use webAPI for register new tracker instance with multiple event?
regards,
channara
Hi all DHIS2,
do you know how can i use webAPI for register new tracker instance with multiple event?
regards,
channara
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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
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 morten@dhis2.org 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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Ah yes, I was assuming you were sending for an existing tracked entity.
If not, you will need to create the TEI first
On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen morten@dhis2.org 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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
i see, thank alot for supporting…
On Thu, Jul 7, 2016 at 11:56 AM, Morten Olav Hansen morten@dhis2.org wrote:
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 rin.channara@gmail.com wrote:
Hi morten.
you mean, i need run two commands through web api, first, create track entity intance, then create program stage.?
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen morten@dhis2.org 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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
In 2.24 we have added the ability to create TEI and enroll at same time which might be interesting for you
On Thu, Jul 7, 2016 at 11:56 AM, Morten Olav Hansen morten@dhis2.org wrote:
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 rin.channara@gmail.com wrote:
Hi morten.
you mean, i need run two commands through web api, first, create track entity intance, then create program stage.?
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen morten@dhis2.org 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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Great! morten!
On Thu, Jul 7, 2016 at 2:36 PM, Morten Olav Hansen morten@dhis2.org wrote:
In 2.24 we have added the ability to create TEI and enroll at same time which might be interesting for you
On Thursday, 7 July 2016, channara rin rin.channara@gmail.com wrote:
i see, thank alot for supporting…
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Thu, Jul 7, 2016 at 11:56 AM, Morten Olav Hansen morten@dhis2.org wrote:
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 rin.channara@gmail.com wrote:
Hi morten.
you mean, i need run two commands through web api, first, create track entity intance, then create program stage.?
–
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
On Thu, Jul 7, 2016 at 10:14 AM, Morten Olav Hansen morten@dhis2.org 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
On Thu, Jul 7, 2016 at 9:44 AM, channara rin rin.channara@gmail.com 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 : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp