dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51166
Re: Data Value Submission Date
Hello All,
I want to query the datavaluesets endpoint in such a way that I should be
able to get Datavalues for all the facilities under a particular level i.e.
District. Is it possible?
For example the API Below, can I change the orgUnit argument in the line
below to give the datavalues for all the facilities under a particular
district?
https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=pBOMPrpg1QX&period=201701&orgUnit=DiszpKrYNg8
Any help will be appreciated.
Regards
On Mon, Apr 30, 2018 at 3:20 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
> I suppose you mean through the Analytics API, since you can do something
> like this:
>
> https://play.dhis2.org/2.29/api/26/dataValueSets?dataSet=
> pBOMPrpg1QX&period=201701&orgUnit=DiszpKrYNg8
>
> On Mon, Apr 30, 2018 at 4:08 PM, Barnabas Akumba <akumbabarns@xxxxxxxxx>
> wrote:
>
>> Hello Devs,
>>
>> I have looked at the "datavalue" table and discovered there are two
>> columns (created and lastupdated). This I assume are supposed to be be the
>> date (time stamp) of submission and update of the data values.
>>
>> In trying to query the API for the data values, I however have issues
>> with fetching either the created or lastupdated time stamps. Is there any
>> way to fetch these two fields (time stamps) along side the data values?
>>
>> Your prompt response'll be highly appreciated.
>>
>> Regards
>>
>>
>> --
>>
>> Barnabas AKUMBA
>>
>> *Mobile:* +2348036195778
>> *Skype:* barnabas.akumba
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
>
> Department of Information, Evidence and Research
> World Health Organization, Geneva, Switzerland
> Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
> Skype: knutstar
>
--
Barnabas AKUMBA
*Mobile:* +2348036195778
*Skype:* barnabas.akumba
Follow ups
References