SAP Knowledge Base Article - Public

2936182 - Upserting isolated records in the same API call - OData API

Symptom

You are performing an Upsert using OData, passing multiple records in the same payload.

You face the following issue: if one record of the payload fails, the whole API call is failing.

You need to know how to make each record of the payload independent - if one fails, the others would still be processed.

Environment

  • SAP SuccessFactors HXM Suite

    • OData API

Resolution

You can add the parameter "strictTransactionIsolate" in the API call. As the OData API Developer Guide states, the parameter will make "the upsert status of one record don't affect the others.".

To use the parameter in your API call, you just need to add the following statement in the Request URL:

https://<API-Server>/odata/v2/upsert?strictTransactionIsolate=true

See Also

SAP SuccessFactors HXM Suite OData API: Developer Guide

Keywords

upsert, insert, odata, update, api, successfactors, success factors, sf, isolated, independent, reject, issue, one record, if one fails the other fail, rest, subsequent, status, response , KBA , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HXM Core 1911