Is SOAP API Method updateArr Transactional

Posted by awbranch on 22-May-2014 08:14

Does the SOAP API Method updateArr run in a transaction, such that if one of the updates failed, they would all be rolledback?

My concern is the API hit counter. Suppose I had only one hit remaining in the current hour block and an updateArr method was called that updated 2 records. Since each update is counted separately, the second update would fail due to exceeding the API count. Would the first update be rolled back? Or would the data be left in a non deterministic state?

Posted by Laurent on 22-May-2014 08:36

All the updates from the updateArr API method are part of one single transaction, which is rolled back entirely should any exception occur during the process.

All Replies

Posted by Laurent on 22-May-2014 08:36

All the updates from the updateArr API method are part of one single transaction, which is rolled back entirely should any exception occur during the process.

This thread is closed