Salesforce Fact #871 | Sobject Tree API in action

With the Sobject Tree API, it is possible to create parent record with multiple child records using the same request.

In this example, we are creating two account records, one with two related contacts and another one with two related opportunities in the same POST request.

Reference: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm

Attached are the screenshots.







Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow