QuestionQ60

Environments

Which two approaches should a developer working on a data-loading integration between different Salesforce environments use to insert multiple related records in a single call or transaction?

Choose two
  • A REST API Composite Request
  • B REST API SObject Tree Request
  • C Streaming API
  • D Bulk API 2.0
Explanation

The REST API Composite resource executes dependent REST subrequests in a single call and lets later subrequests reference IDs returned by earlier ones, allowing parent and related child records to be created together. The REST API SObject Tree resource creates nested parent-child record trees in one request. Streaming API delivers event notifications, while Bulk API 2.0 is an asynchronous bulk-ingestion mechanism rather than a single transaction for related-record creation.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!