As I understand it, I cannot use FOR UPDATE
keyword when selecting records via Salesforce SOAP API (wsdl) before I update them. How do I make concurrent updates on a record retrieved via API?
As I understand it, I cannot use FOR UPDATE
keyword when selecting records via Salesforce SOAP API (wsdl) before I update them. How do I make concurrent updates on a record retrieved via API?
Best Answer
One option would be to create your own REST or SOAP based API in Apex that would both lock and update the records required in one call. Then consume this API from C#.
SOAP based:
REST based:
See Exposing Apex Methods as SOAP Web Services and Creating REST APIs using Apex REST