Updating Teams on an Account through API

I have been trying to update the Team an Account is assigned to through the API but it doesn't seem to update. Has anyone tried to do this?

Parents Reply Children
  • Ok Thanks. I will have to dig deeper since the Team is not updating.

  • Jerry Clark,

    Sorry it took me so long to respond. Anyway, I am using a custom endpoint but below is the code that actually does the work. I believe I am missing something. Yes a Teams update works when I use the standard Accounts API PUT. This custom endpoint was built to be able to just mass upload thousands of records at once and handle checking if the record exists and just updating with new or changed information.

  • For anyone interested, I have found the solution. See Manipulating Teams Programmatically - SugarCRM Support Site under the Replacing Teams. I had to also update my endpoint code to do this but here is what I got.