AFAIK, we do not support bulk complete registration when sending bulk data values, but you can have a look at our dataset registration API [1].
[1] https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s15.html -- Morten On Wed, Apr 8, 2015 at 6:07 PM, Muhammad Bilal Siddqui < m.bilalsidd...@micromerger.com> wrote: > { > "dataValues": [ > { "dataElement": "f7n9E0hX8qk", "period": "201401", "orgUnit": > "DiszpKrYNg8", "value": "12" }, > { "dataElement": "f7n9E0hX8qk", "period": "201401", "orgUnit": > "FNnj3jKGS7i", "value": "14" }, > { "dataElement": "f7n9E0hX8qk", "period": "201402", "orgUnit": > "DiszpKrYNg8", "value": "16" }, > { "dataElement": "f7n9E0hX8qk", "period": "201402", "orgUnit": > "Jkhdsf8sdf4", "value": "18" } > ] > } > I have little bit confuse about above format. > That how do i tell system that entry is complete? like in single import > value we supply completeDate value? > > On Wed, Apr 8, 2015 at 3:59 PM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Please have a look at [1], the syntax is a bit different for bulk >> datavalues >> >> [1] >> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html#d5e1561 >> >> -- >> Morten >> >> On Wed, Apr 8, 2015 at 5:58 PM, Muhammad Bilal Siddqui < >> m.bilalsidd...@micromerger.com> wrote: >> >>> Yes, i think so >>> so i tried in a following way >>> { >>> "dataSet":"CR_DataSet", >>> "completeDate":"2015-04-08", >>> "dataValues": [ >>> { >>> "dataElement":"CR_ControlID", >>> "orgUnit":"11101001", >>> "period":"20150312", >>> "value":"111-DEC-14-1-01001-3" >>> }, >>> { >>> "dataElement":"CR_CampType", >>> "value":"0", >>> "orgUnit":"11101001", >>> "period":"20150312" >>> }, >>> { >>> "dataElement":"CR_ControlID", >>> "value":"111-DEC-14-1-01001-5", >>> "orgUnit":"11101001", >>> "period":"20150311" >>> } >>> ] >>> } >>> >>> But that gives me following conflict >>> ConflictsElementDescriptionOrganisationUnitMust be provided to complete >>> data set >>> >>> On Wed, Apr 8, 2015 at 3:47 PM, Morten Olav Hansen <morte...@gmail.com> >>> wrote: >>> >>>> Hi Muhammad >>>> >>>> If you look at the docs, there should be an alternative format when you >>>> need to send for multiple periods >>>> >>>> -- >>>> Morten >>>> >>>> On Wed, Apr 8, 2015 at 5:35 PM, Muhammad Bilal Siddqui < >>>> m.bilalsidd...@micromerger.com> wrote: >>>> >>>>> Hi thanks for reply >>>>> >>>>> I tried following >>>>> { >>>>> "dataSet": "dataSetID", >>>>> "completeDate": "date", >>>>> "period": "period", >>>>> "orgUnit": "orgUnitID", >>>>> "dataValues": [ >>>>> { "dataElement": "dataElementID","value": "1" }, >>>>> { "dataElement": "dataElementID","value": "2" }, >>>>> { "dataElement": "dataElementID", "value": "3" } >>>>> ] >>>>> } >>>>> >>>>> let suppose if i do from "period":"20150315" that will dumb data only >>>>> for that day but i want to import for 3,4 different days like >>>>> 20150315,20150316,20150317 .. >>>>> >>>>> for that i tried to put period value along with dataElement but it >>>>> can't any help or maybe i am doing something wrong? >>>>> >>>>> On Wed, Apr 8, 2015 at 3:17 PM, Lars Helge Ă˜verland < >>>>> larshe...@gmail.com> wrote: >>>>> >>>>>> Hi Muhammad, >>>>>> >>>>>> you can find documentation for Web API data import here: >>>>>> >>>>>> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s10.html >>>>>> >>>>>> regards, >>>>>> >>>>>> Lars >>>>>> >>>>>> On Wed, Apr 8, 2015 at 12:14 PM, Muhammad Bilal Siddqui < >>>>>> m.bilalsidd...@micromerger.com> wrote: >>>>>> >>>>>>> I am using DHIS2 as a user i get copy from launchpad and set in my >>>>>>> local system. Now i want to import some dataSet values in json format >>>>>>> also >>>>>>> want to complete them. >>>>>>> I am trying to import data of 2 different periods of same >>>>>>> organization and same dataset. How do i do that? >>>>>>> -- >>>>>>> -- >>>>>>> Regards >>>>>>> *Muhammad Bilal Siddiqui* >>>>>>> >>>>>>> *MicroMerger IT Solutions* >>>>>>> Suite # 731, Street # 20 >>>>>>> Sector I-8/2 Islamabad. >>>>>>> Pakistan 44000 >>>>>>> >>>>>>> *C* : +923325694928 *P* : +92514863592 >>>>>>> *E* : m.bilalsidd...@micromerger.com <m.har...@micromerger.com> *W* >>>>>>> : www.micromerger.com >>>>>>> >>>>>>> >>>>>>> *This e-mail and any files transmitted with it are confidential to >>>>>>> the intended recipient and may be privileged. If you are not the >>>>>>> intended >>>>>>> recipient, please immediately notify the sender. Whilst we have used >>>>>>> Anti-Virus software to alert us to the presence of computer viruses, we >>>>>>> cannot guarantee that this email and any files transmitted with it are >>>>>>> free >>>>>>> from them.*N : Think before print do you really need this on paper. >>>>>>> thanks >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Mailing list: https://launchpad.net/~dhis2-users >>>>>>> Post to : dhis2-users@lists.launchpad.net >>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users >>>>>>> More help : https://help.launchpad.net/ListHelp >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Regards >>>>> *Muhammad Bilal Siddiqui* >>>>> >>>>> *MicroMerger IT Solutions* >>>>> Suite # 731, Street # 20 >>>>> Sector I-8/2 Islamabad. >>>>> Pakistan 44000 >>>>> >>>>> *C* : +923325694928 *P* : +92514863592 >>>>> *E* : m.bilalsidd...@micromerger.com <m.har...@micromerger.com> *W* >>>>> : www.micromerger.com >>>>> >>>>> >>>>> *This e-mail and any files transmitted with it are confidential to the >>>>> intended recipient and may be privileged. If you are not the intended >>>>> recipient, please immediately notify the sender. Whilst we have used >>>>> Anti-Virus software to alert us to the presence of computer viruses, we >>>>> cannot guarantee that this email and any files transmitted with it are >>>>> free >>>>> from them.*N : Think before print do you really need this on paper. >>>>> thanks >>>>> >>>>> _______________________________________________ >>>>> Mailing list: https://launchpad.net/~dhis2-users >>>>> Post to : dhis2-users@lists.launchpad.net >>>>> Unsubscribe : https://launchpad.net/~dhis2-users >>>>> More help : https://help.launchpad.net/ListHelp >>>>> >>>>> >>>> >>> >>> >>> -- >>> -- >>> Regards >>> *Muhammad Bilal Siddiqui* >>> >>> *MicroMerger IT Solutions* >>> Suite # 731, Street # 20 >>> Sector I-8/2 Islamabad. >>> Pakistan 44000 >>> >>> *C* : +923325694928 *P* : +92514863592 >>> *E* : m.bilalsidd...@micromerger.com <m.har...@micromerger.com> *W* : >>> www.micromerger.com >>> >>> >>> *This e-mail and any files transmitted with it are confidential to the >>> intended recipient and may be privileged. If you are not the intended >>> recipient, please immediately notify the sender. Whilst we have used >>> Anti-Virus software to alert us to the presence of computer viruses, we >>> cannot guarantee that this email and any files transmitted with it are free >>> from them.*N : Think before print do you really need this on paper. >>> thanks >>> >> >> > > > -- > -- > Regards > *Muhammad Bilal Siddiqui* > > *MicroMerger IT Solutions* > Suite # 731, Street # 20 > Sector I-8/2 Islamabad. > Pakistan 44000 > > *C* : +923325694928 *P* : +92514863592 > *E* : m.bilalsidd...@micromerger.com <m.har...@micromerger.com> *W* : > www.micromerger.com > > > *This e-mail and any files transmitted with it are confidential to the > intended recipient and may be privileged. If you are not the intended > recipient, please immediately notify the sender. Whilst we have used > Anti-Virus software to alert us to the presence of computer viruses, we > cannot guarantee that this email and any files transmitted with it are free > from them.*N : Think before print do you really need this on paper. thanks >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp