dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #48028
Re: [Dhis2-users] Issues with Reading Data Values via the dataValueSets
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:33 PM, Ocaya Stephen <stephocay@xxxxxxxxx> wrote:
> 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=201401&orgUnit=DiszpKrYNg8
>
> Attached is the output for the above and missing the "dataValues":[]
> sections
>
> Kindly advise how best to do that.
>
> Sample Return Values::
> {"dataSet":"XnjkPghTBX9","period":"201601","orgUnit":"aXmBzv61LbM"}
>
>
>
> --
>
> *You can do anything, but not everything.*
>
>
> _______________________________________________
> 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
>
>
Follow ups
References