Exam Certified Integration Architect All QuestionsBrowse all questions from this exam
Question 49

An integration architect has built a solution using REST API, updating Account, Contact, and other related information. The data volumes have increased, resulting in higher API calls consumed, and some days the limits are exceeded. A decision was made to decrease the number of API calls using bulk updates. The customer prefers to continue using REST API to avoid architecture changes.

Which REST API composite recourses should the integration architect use to allow up to 200 records in one API call?

    Correct Answer: C

    To address the requirement of decreasing the number of API calls while continuing to use the REST API, the SObject Collections composite resource should be used. SObject Collections allow for bulk operations on multiple records of the same type, such as Account or Contact, in a single API call, and it supports up to 200 records per request. This aligns perfectly with the need to reduce the number of API calls by handling up to 200 records in one request.

Discussion
SS1121Option: C

SObject Collections: This composite resource allows for bulk operations on multiple records of the same type (e.g., Account, Contact) in a single API call. It supports up to 200 records per request, which aligns with the requirement to reduce the number of API calls by handling more records in each call. SObject Tree (D): This resource is used for creating or updating a tree of objects with parent-child relationships, which is not the primary requirement here.

JLee1Option: D

Given the requirement to update Account, Contact, and other related information in one API call, the correct answer would be D. SObject Tree. The SObject Tree resource allows you to create nested records, which means you can create a parent record (like Account) and its related child records (like Contacts) in a single API call. This would be the most suitable option for reducing the number of API calls when the data volumes have increased. The other options (Batch, Composite, and SObject Collections) do not specifically allow updating related records in one API call.