+ Start a Discussion
Joris ArtoisJoris Artois 

Insert / Update UserTerritory object via (Bulk) REST API

Hi all,

Via APEX a DML Operation is not allowed on the UserTerritory object, but we want to inesrt / update / delete it via a custom tool that's build in APEX.
Therefore we were thinking of using the REST API. This seems to work only for one record at a time. Is it possible to do this with a List?
If not, I guess we should be using Bulk API? I have no experience with that, could you provide an example with OAuth2?

Thanks in advance,
Try SObject Tree API