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](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
Stian
(Stian Sandvold)
5 October 2017 11:59
2
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@gmail.com 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](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@lists.launchpad.net
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
This is an unfortunate historical remnant…
···
On Oct 5, 2017 12:59 PM, “Stian Sandvold” stian@dhis2.org wrote:
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.
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
On Thu, Oct 5, 2017 at 6:58 AM, Omer Butt omerbutt2521@gmail.com 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](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@lists.launchpad.net
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