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.
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.
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.
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.
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.
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.