← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Access Tracker capture program stage data through API

 

Hi, Georgi

Here is example:
https://play.dhis2.org/2.27/api/27/events.json?orUnit=ImspTQPwCqd&program=IpHINAT79UW <https://play.dhis2.org/2.27/api/27/events.json?orUnit=ImspTQPwCqd&program=IpHINAT79UW>

Or it can be retrieved for each tracker entity:
https://play.dhis2.org/2.27/api/27/events.json?trackedEntityInstance=PlHxepospot <https://play.dhis2.org/2.27/api/27/events.json?trackedEntityInstance=PlHxepospot>

> On 5 Feb 2018, at 17:20, Georgi Chakarov <georgi@xxxxxxxxxxxxxxxxxxx> wrote:
> 
> Hi all,
>  
> Can anyone tell me what is the query to read all data entered in a Tracker capture program stage?
>  
> We have tried this:
> /api/26/events.json?orgUnit=DiszpKrYNg8&program=eBAyeGv0exc  
> and other versions like /api/26/events.json?orgUnit=YuQRtpLP10I&ouMode=CHILDREN but we get the result below. Your feedback is highly appreciated!
>  
>  
> <image001.jpg>
>  
> Georgi
>   
> Georgi Chakarov, CIA | georgi@xxxxxxxxxxxxxxxxxxx <mailto:georgi@xxxxxxxxxxxxxxxxxxx> | +1-647-478-5634 x 104 | LogicalOutcomes c/o Centre for Social Innovation, 720 Bathurst Street, Toronto Canada M5S 2R4 | You may unsubscribe from receiving commercial electronic messages from LogicalOutcomes by emailing info@xxxxxxxxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxxxxxxxx>
>  
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>

References