Re: [Dhis2-users] Issues with Reading Data Values via the dataValueSets

2016-12-05 Thread Lars Helge Ă˜verland
Hi Ocaya, we do have an empty element, for XML: https://play.dhis2.org/demo/api/dataValueSets.xml?dataSet=pBOMPrpg1QX=201401=DiszpKrYNg8 for JSON is what you see the equivalent - a JSON object with data set / period / org unit properties. regards, Lars On Mon, Dec 5, 2016 at 5:08 PM, Ocaya

Re: [Dhis2-users] Issues with Reading Data Values via the dataValueSets

2016-12-05 Thread tuzo engelbert
Dear Ocaya Stephen, It seems you are trying to pull data for period that has no data value.to get it different try to use https://play.dhis2.org/demo/api/dataValueSets.json?dataSet=pBOMPrpg1QX=201512=DiszpKrYNg8 Hopes it will help to know the cause Thanks On Mon, Dec 5, 2016 at 5:33 PM, Ocaya

Re: [Dhis2-users] Issues with Reading Data Values via the dataValueSets

2016-12-05 Thread Halvdan Hoem Grelland
There are no data values returned because there are no data values matching your query (in particular for the period specified). Try, for example, this: https://play.dhis2.org/demo/api/dataValueSets.json?dataSet=pBOMPrpg1QX=DiszpKrYNg8=201602 On Mon, Dec 5, 2016 at 3:33 PM, Ocaya Stephen

[Dhis2-users] Issues with Reading Data Values via the dataValueSets

2016-12-05 Thread Ocaya Stephen
Dear Dev, I am not sure if I am doing it wrongly. When I try to access dataValueSets via the API (DHIS2 2.25), the return values does not have dataValues as documented. To reproduce the issue: Try the example below: