ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 33 - Certified Platform Developer II discussion

Report
Export

A company represents their customers as Accounts that have an External ID field called Customer_Number__c. They have a custom Order (Order__c) object, with a Lookup to Account, to represent Orders that are placed in their external order management system (OMS). When an order is fulfilled in the OMS, a REST call to Salesforce should be made that creates an Order record in Salesforce and retates it to the proper Account. What is the optimal way to implement this?

A.
Perform a REST GET on the Account and a REST POST to update the Order__c with the Account's record ID.
Answers
A.
Perform a REST GET on the Account and a REST POST to update the Order__c with the Account's record ID.
B.
Perform a REST PATCH to upsert the Order__c and specify the Account's Customer_Number__c in it.
Answers
B.
Perform a REST PATCH to upsert the Order__c and specify the Account's Customer_Number__c in it.
C.
Perform a REST GET on the Account and a REST PATCH to upsert the Order__c with the Accounts record ID.
Answers
C.
Perform a REST GET on the Account and a REST PATCH to upsert the Order__c with the Accounts record ID.
D.
Perform a REST POST to update the Order__c and specify the Account's Customer_Number__c in it.
Answers
D.
Perform a REST POST to update the Order__c and specify the Account's Customer_Number__c in it.
Suggested answer: B
asked 23/09/2024
William Kerr
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first