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
NikkiNikki 

Update call using xmlrpc API

I insert twelve contacts using the batch insert call.  This works no problem.  When I send the same twelve contacts as a batch update weird stuff happens.  The first contact in the structure is overwritten with the last.  (Meaning in the Salesforce UI I have a duplicate of the twelfth contact and none of the first contact.)  Also, I checked the response from the update call and it returns a structure of twelve ids, as it should, except that all of the ids are the same.  The id belongs to the last contact in the update structure.

Any ideas?

DevAngelDevAngel

Hi Niki,

Can you send me the soap request and response?

NikkiNikki
in trying to get the sample to you I figured out the problem, I was sending the same id for every contact.  Duh.  Thanks for your prompt reply.