Detailed Import Summary message

Hi All,

We are trying to push bulk data using web-api (using datavalueset). User will click SAVE button after filling the form instead filed saving it will be form saving. When user clicks save button we push data using web-api and the response after importing that we are getting is summary count meaning

imported: X, updated: Y, ignored: Z,

Is it possible to get the detailed summary list of dataelements data is imported, list of des updated and list of des ignored. This will help us to mark the text fields with colors (green/red) which ones are saved and which ones are ignored.

Thanks.

···

Regards,
Bharath Kumar. Ch

Can you please confirm is there any possibility to get the detailed import result as web-api response. Thanks

···

On Fri, Jun 12, 2015 at 12:35 PM, Bharath chbharathk@gmail.com wrote:

Hi All,

We are trying to push bulk data using web-api (using datavalueset). User will click SAVE button after filling the form instead filed saving it will be form saving. When user clicks save button we push data using web-api and the response after importing that we are getting is summary count meaning

imported: X, updated: Y, ignored: Z,

Is it possible to get the detailed summary list of dataelements data is imported, list of des updated and list of des ignored. This will help us to mark the text fields with colors (green/red) which ones are saved and which ones are ignored.

Thanks.

Regards,
Bharath Kumar. Ch

Regards,
Bharath Kumar. Ch

Hi Bharath,

I poll the api/system/tasks/DATAMART endpoint with the import script every few seconds after initiating the end point and retrieve the JSON response. When the detects that the import has completed, you can then get the detailed summary from/dhis-web-importexport/getDataValueImportSummary.action. So, not directly through the WebAPI,but maybe this will help. If there are better approaches, it would be good to know.

Regards,

Jason

···

On Wed, Jun 17, 2015 at 7:24 AM, Bharath chbharathk@gmail.com wrote:

Can you please confirm is there any possibility to get the detailed import result as web-api response. 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

On Fri, Jun 12, 2015 at 12:35 PM, Bharath chbharathk@gmail.com wrote:

Hi All,

We are trying to push bulk data using web-api (using datavalueset). User will click SAVE button after filling the form instead filed saving it will be form saving. When user clicks save button we push data using web-api and the response after importing that we are getting is summary count meaning

imported: X, updated: Y, ignored: Z,

Is it possible to get the detailed summary list of dataelements data is imported, list of des updated and list of des ignored. This will help us to mark the text fields with colors (green/red) which ones are saved and which ones are ignored.

Thanks.

Regards,
Bharath Kumar. Ch

Regards,
Bharath Kumar. Ch

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

Thanks Jason, let me try this.

···

On Wed, Jun 17, 2015 at 11:03 AM, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi Bharath,

I poll the api/system/tasks/DATAMART endpoint with the import script every few seconds after initiating the end point and retrieve the JSON response. When the detects that the import has completed, you can then get the detailed summary from/dhis-web-importexport/getDataValueImportSummary.action. So, not directly through the WebAPI,but maybe this will help. If there are better approaches, it would be good to know.

Regards,

Jason

On Wed, Jun 17, 2015 at 7:24 AM, Bharath chbharathk@gmail.com wrote:

Can you please confirm is there any possibility to get the detailed import result as web-api response. 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

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Fri, Jun 12, 2015 at 12:35 PM, Bharath chbharathk@gmail.com wrote:

Hi All,

We are trying to push bulk data using web-api (using datavalueset). User will click SAVE button after filling the form instead filed saving it will be form saving. When user clicks save button we push data using web-api and the response after importing that we are getting is summary count meaning

imported: X, updated: Y, ignored: Z,

Is it possible to get the detailed summary list of dataelements data is imported, list of des updated and list of des ignored. This will help us to mark the text fields with colors (green/red) which ones are saved and which ones are ignored.

Thanks.

Regards,
Bharath Kumar. Ch

Regards,
Bharath Kumar. Ch

Regards,
Bharath Kumar. Ch