Hi

We are using /api/events to post event related data and it is being
uploaded successfully. The api returns a response of type ImportSummaries
which has the status of ImportSummary along with the count of data which is
imported/updated.
In case of any conflicts being reported in ImportSummary, we observe that
the status still shows as SUCCESS.

---------
ImportSummaries {
importSummaries = [ImportSummary {
status = SUCCESS,
                description = 'null',
                importCount = [imports = 2, updates = 0, ignores = 0],
                conflicts = [ImportConflict {
object = 'Illegal category option identifier: U8vu31ybiD5', value =
'U8vu31ybiD5' }],
                dataSetComplete = 'null',
                reference = 'jLBehWyIspM',
                href = '
http://msfocamdsynchq.twhosted.com/api/events/jLBehWyIspM'
}]
}
----------
Is this not an error because the complete import of the event data has not
happened. Please suggest.

Thanks
Aamer.
_______________________________________________
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

Reply via email to