Access Tracker capture program stage data through API

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!

Georgi

Georgi Chakarov, CIA | georgi@logicaloutcomes.net | +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@logicaloutcomes.net

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&gt;

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&gt;

ยทยทยท

On 5 Feb 2018, at 17:20, Georgi Chakarov <georgi@logicaloutcomes.net> 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@logicaloutcomes.net <mailto:georgi@logicaloutcomes.net> | +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@logicaloutcomes.net <mailto:info@logicaloutcomes.net>

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net <mailto:dhis2-devs@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp