← Back to team overview

dhis2-users team mailing list archive

Re: Issues with Reading Data Values via the dataValueSets

 

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 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
>
>


-- 
Halvdan Hoem Grelland
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>

References