For example, when I create call via rest v10 using api's user.
It always put team of this user in call team.
Is it possible to remove team or skip this behavior?
Sugar 7.7 Ent
You can set a Team when you create the bean that you are saving
Be sure to assign both the Team and the Team set.
You could just assign Global (id = 1) for both Team and Team set:
$bean->team_id = '1';$bean->team_set_id = '1';
you can also assign created_by etc. as long as you remember to prevent the overwrtite for those fields:
$bean->update_date_modified = false; $bean->update_modified_by = false; $bean->set_created_by = false; $bean->update_date_entered = false;
You can also retrieve or create Teams and Team Sets programmatically:
Retrieving data ...