← Back to team overview

dhis2-devs team mailing list archive

Re: Unable to retrieve Analytics Data using API through the dataValueSet format.

 

Hi Ocaya,

this feature was introduced in 2.25, per the release notes:

https://docs.google.com/document/d/1OPqo7LXqm2y2KAGlDhGGn6Gn-qsHQp1mLe8_L555ebA/pub

regards,

Lars


On Sat, Dec 17, 2016 at 12:24 PM, Ocaya Stephen <stephocay@xxxxxxxxx> wrote:

> Hi Knut and All,
>
> I have just upgraded from 2.24 to 2.25 and confirms now that the
> analytics/dataValueSet works.
>
> May be for those having a similar issue, you might want to do an upgrade.
>
> Regards.
>
> On Sat, Dec 17, 2016 at 1:36 PM, Ocaya Stephen <stephocay@xxxxxxxxx>
> wrote:
>
>> Yes. BUT it seems it does not work with version 2.24 or so. I am doing an
>> upgrade from 2.24 and will give an update shortly.
>>
>> Regards
>>
>> On Sat, Dec 17, 2016 at 1:32 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Did you run Analytics first?
>>>
>>> On Dec 17, 2016 11:14 AM, "Ocaya Stephen" <stephocay@xxxxxxxxx> wrote:
>>>
>>>> Dear All,
>>>>
>>>> I am trying to retrieve analytics data via a web API using the
>>>> dataValueSet formatting. Unfortunately this has not been successful
>>>> (Version 2.25). Could this be a general issue with DHIS2. However, this
>>>> works with the demo DHIS2 instance.
>>>>
>>>> http://dhis.mets.or.ug/api/analytics/dataValueSet.json?dimen
>>>> sion=ou:akV6429SUqu&dimension=dx:WlBawBVNdeT&dimension=pe:2016W10
>>>>
>>>> or, do we need to do something to enable it to work?
>>>> --
>>>>
>>>> *You can do anything, but not everything.*
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>
>>
>> --
>>
>> *You can do anything, but not everything.*
>>
>>
>
>
> --
>
> *You can do anything, but not everything.*
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


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

Follow ups

References