← Back to team overview

dhis2-users team mailing list archive

Re: API Access to indicators

 

Hi Matt,

note that we do not store indicator values at all in the system. Calculated
/ aggregated indicator values are computed on the fly and can be retrieved
through the analytics web api resource
<https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html>.

Like Jan says, playing with the web pivot table app and going to download >
plain datasource > json is a good way to learn the syntax.

One example query URL looks like this:

https://apps.dhis2.org/demo/api/analytics.json?dimension=dx:Uvn6LCg7dVU;OdiHJayrsKo&dimension=pe:LAST_12_MONTHS&filter=ou:ImspTQPwCqd&displayProperty=SHORTNAME



Lars




On Mon, Nov 2, 2015 at 1:52 AM, Matt Berg <mlberg@xxxxxxxxx> wrote:

> Hi DHIS2 Community,
>
> The DHIS2 indicator engine is very possible.  We are interested in
> exploring ways to integrate it with external platforms and UI's.
>
> I'm curious on the API support for indicators.  From the documentation, it
> looks like you might only be able to get indicator descriptions from the
> API?  Is there an API endpoint that handles the standard CRUD operations
> for indicators?
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s18.html
>
> Also, is there any documentation on how to access generated indicator
> values via the API once they've been created.  For adding data, I assume we
> just use the standard data input API's.
>
> Thanks for your help with this.
>
> Matt
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

Follow ups

References