dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09343
Re: API-Response from api/dataValueSets
I just saw that Bob already filed a very useful Blueprint for something like
this in 2014
(https://blueprints.launchpad.net/dhis2/+spec/detailed-import-summary) Has there
any work been done on this so far, as the check for future dates obviously does
something like this?
> Uwe Wahser <uwe@xxxxxxxxx> hat am 11. Februar 2016 um 11:58 geschrieben:
>
>
> Dear all,
>
> when importing dataValues into DHIS2 via api/dataValueSets I get a certain
> number of values that are being ignored. Is there a api-parameter that can
> give
> me a more detailed feedback in the response than just the number of ignored
> values?
>
> I remember that I always got an error-message with a list of rejected dates in
> the api response before I allowed future-dates (json-field 'conflicts':
> "conflicts":[{"object":"20460411","value":"Data element does not allow for
> future periods through data sets: X9etg5beTot"}]). It would help a lot for
> debugging, if I got this kind of information for the remaining conflicts.
>
> Currently running on 2.22 (standard Ubuntu 14.04 & Oracle 8), not sure though,
> whether the conflicts field was still under 2.21.
>
> Thanks a lot,
>
> Uwe
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
References