Hi Omer, have a look at the docs:
https://docs.dhis2.org/master/en/developer/html/webapi_data_values.html#webapi_sending_data_values You can use the "completeDate" property to indicate the date the data set was completed: { "dataSet": "pBOMPrpg1QX", "completeDate": "2014-02-03", "period": "201401", "orgUnit": "DiszpKrYNg8", "dataValues": [ { "dataElement": "f7n9E0hX8qk", "value": "1" }, { "dataElement": "Ix2HsbDMLea", "value": "2" }, { "dataElement": "eY5ehpbEsB7", "value": "3" } ] } regards, Lars On Wed, Sep 20, 2017 at 8:31 AM, Omer Butt <omerbutt2...@gmail.com> wrote: > Hi , > I used that api for sending data values from api to dhis2 DB. (data values > of data sets) > > URL: > > curl -d @datavalueset.json "https://play.dhis2.org/demo/api/26/dataValueSets" > -H "Content-Type:application/json" -u admin:district -v > > Values Are send successfully to DHIS2 DB .But how to tell db using this api > that This data set is complete . > > Kindly Help. > > > _______________________________________________ > 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 > > -- Lars Helge Øverland Lead developer, DHIS 2 University of Oslo Skype: larshelgeoverland l...@dhis2.org http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________ 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