Tracked entites and 2.14

Hello all.

I am trying to use the /api/trackedEntityInstances resource with DHIS2 2.14 Build revision: 13846

When trying to the the demo for testing I get the following results

http://apps.dhis2.org/demo/api/trackedEntityInstances.json?ou=DiszpKrYNg8

gives http status 404

However using the 2.15 version:

http://apps.dhis2.org/dev/api/trackedEntityInstances.json?ou=DiszpKrYNg8

gives correct results

What resource should I work with in 2.14 to create and query persons?

Thanks

Adrian Soria

Hi,

This kind of advanced searches was not available in 2.14. But there are some basic filtering if you use /api/persons (which was the old name for this resource), but all the improved query functionality is in 2.15 (together with many many fixes to the tracker web-api).

···


Morten

On Mon, Apr 14, 2014 at 5:20 AM, Adrian S adrian.2072@gmail.com wrote:

Hello all.

I am trying to use the /api/trackedEntityInstances resource with DHIS2 2.14 Build revision: 13846

When trying to the the demo for testing I get the following results

http://apps.dhis2.org/demo/api/trackedEntityInstances.json?ou=DiszpKrYNg8

gives http status 404

However using the 2.15 version:

http://apps.dhis2.org/dev/api/trackedEntityInstances.json?ou=DiszpKrYNg8

gives correct results

What resource should I work with in 2.14 to create and query persons?

Thanks

Adrian Soria


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