I am performing multiple batch upserts using the Bulk API using an external ID field from my system. In order to determine which record ids from my system failed, I'd need the results rows to correspond to the rows in the request.
For example, I got this row back in the results:
"Id","Success","Created","Error"
"","false","true","FIELD_INTEGRITY_EXCEPTION:Date of Birth: invalid date: Mon Jan 02 00:00:00 GMT
The external id is not included in the result, so I have no way of knowing which record from my system failed.
I cannot find any information on the order of the results. Does anyone know if there is an authoritative guarantee that the results rows are in the same order as the request rows?