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&period=201401&orgUnit=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

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

2016-12-05 Thread Ocaya Stephen
Thanks. It works. I have tried with different orgUnit with data. But it would be better if we could put an empty dataValues instead of leaving it completely out. Just my suggestion. Regards. On Dec 5, 2016 6:19 PM, "tuzo engelbert" wrote: > Dear Ocaya Stephen, > It seems you are trying to pul

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&period=201512&orgUnit=DiszpKrYNg8 Hopes it will help to know the cause Thanks On Mon, Dec 5, 2016 at 5:

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&orgUnit=DiszpKrYNg8&period=201602 On Mon, Dec 5, 2016 at 3:33 PM, Ocaya S

[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: https://play.dhis2.org/demo/api/dataValueSets.json?dataSet=pBOMPrpg1QX&period=20