Retrieve Indicator values through WEB API

I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.

Regards,

Morina

“have tried examples in vain” is not very informative.

Which examples, what results?

···

On Sat, Sep 6, 2014 at 8:17 PM, Morina Matasi morena.motsieng@gmail.com wrote:

I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.

Regards,

Morina


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


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

https://www.dhis2.org/doc/snapshot/en/user/html/ch32s21.html

Example:

api/analytics?dimension=dx:<uid of indicator>&dimension=pe:2013&dimension=ou:<uid of orgunit>
···

On Sat, Sep 6, 2014 at 3:49 PM, Knut Staring knutst@gmail.com wrote:

“have tried examples in vain” is not very informative.

Which examples, what results?


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

On Sat, Sep 6, 2014 at 8:17 PM, Morina Matasi morena.motsieng@gmail.com wrote:

I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.

Regards,

Morina


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

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hello Morina,

a good way of learning how the analytics web api works is to use the pivot table and play around with indicator data there. When you have created a pivot view of the indicators you want you can click download > plan data source - JSON. From this you can study the URL in your browser in order to understand the analytics URL syntax.

Let us know how it goes.

regards,

Lars

···

On Sat, Sep 6, 2014 at 9:47 AM, Morina Matasi morena.motsieng@gmail.com wrote:

I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.

Regards,

Morina


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

2 Likes