dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50152
Re: DHIS-2 Api
Hi Omer,
Data values are stored to the datavalue table in the database. You can look
at the column named "sourceid" to find a reference to the organisation unit
used to store this value.
Hope this helps.
On Thu, Oct 5, 2017 at 6:58 AM, Omer Butt <omerbutt2521@xxxxxxxxx> wrote:
> Hi,
>
> I have used this api for sending data values of data set to dhis2 database.
>
> curl -d @datavalueset.json "https://play.dhis2.org/demo/api/26/dataValueSets"
> -H "Content-Type:application/json" -u admin:district -v
>
> I passed Org unit id, data set id with data values of data set etc.
>
> In DB where orgunit and data set is saved for these data values of data set. because in data values table only data values are saved.
>
> I have to access which org unit is saved this data set.
>
> kindly help.
>
> Thanks
>
>
> _______________________________________________
> 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
>
>
--
Stian Sandvold
Software developer, DHIS2
University of Oslo
http://www.dhis2.org
Follow ups
References