function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matt Davis 32Matt Davis 32 

python update multiple records with a single call

I have written python code to get data from thousands of radios and compare it with data in our opportunities, and update the opportunity fields if there is a discrepancy. If not, it will leave the record alone. It would run once per day, most likely, and can possibly update a few hundred records at a time.

I have been asked to update the records as a single call.

I believe the reason is that we have quite a few apps that already consume a large chunk of our alotted calls per day. I tried to use simple-salesforce to do this, but I don't see any reference to its ability to take json or xml for updating records. I do see the "bulk" update functionality, but that seems to be meant for calls over 10000 at a time. What about the calls between 1 and 10,000 records? Can simple-salesforce do this, or can some other python tool kit? Thanks.