Re: [Dhis2-devs] Cannot get individual values from API

2017-05-02 Thread Ramón José Jiménez Pomareta
Thank you both for your information ! 2017-05-01 18:22 GMT+02:00 Lars Helge Øverland : > Hi Ramon, > > unfortunately the API cannot currently do exactly what you are asking for. > > The dataValueSets >

Re: [Dhis2-devs] Cannot get individual values from API

2017-05-01 Thread Lars Helge Øverland
Hi Ramon, unfortunately the API cannot currently do exactly what you are asking for. The dataValueSets API endpoint allows you query by data set and also data element group, if that is helpful.

Re: [Dhis2-devs] Cannot get individual values from API

2017-05-01 Thread Knut Staring
Hi again, I think you could get what you want throgh the Analytics API: https://docs.dhis2.org/master/en/developer/html/webapi_analytics.html#webapi_analytics_dimensions_and_items On Mon, May 1, 2017 at 4:24 PM, Ramón José Jiménez Pomareta < dh...@pomareta.ch> wrote: > Thank you for your quick

Re: [Dhis2-devs] Cannot get individual values from API

2017-05-01 Thread Ramón José Jiménez Pomareta
Thank you for your quick answer, that works ! But for me it doesn't if I don't specify co. Actually, I have a dataElement which is divided in three categories options. And so, I must call three times dataValues or simply call for the whole dataSet. In both cases I have to do the addition. Is

Re: [Dhis2-devs] Cannot get individual values from API

2017-05-01 Thread Knut Staring
I think the demo data have been moved from 2013 to more recent years. Try this: https://play.dhis2.org/demo/api/24/dataValues?de=s46m5MS0hxu=201601=DiszpKrYNg8=Prlt0C1RF0s On Mon, May 1, 2017 at 11:55 AM, Ramón José Jiménez Pomareta < dh...@pomareta.ch> wrote: > Hi, > > I don't know if I didn't

[Dhis2-devs] Cannot get individual values from API

2017-05-01 Thread Ramón José Jiménez Pomareta
Hi, I don't know if I didn't get something but I am not be able to retrieve individual values through the API. The play.dhis2 example doesn't work neither and it gives me the same answer : https://play.dhis2.org/demo/api/24/dataValues?de=s46m5MS0hxu=201301=DiszpKrYNg8=Prlt0C1RF0s