Valid PDII Dumps shared by ExamDiscuss.com for Helping Passing PDII Exam! ExamDiscuss.com now offer the newest PDII exam dumps, the ExamDiscuss.com PDII exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDII dumps with Test Engine here:
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?
Correct Answer: C
Recent Comments (The most recent comments are at the top.)
Recent Comments (The most recent comments are at the top.)
C is right
"Upserting Records and Associating with an External ID"
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_upsert.htm
I believe the answer should be: "Perform a REST GET on the Account and a REST POST to update the Order__c with the Account's record ID."
You do not know the Account ID, so you need to query for it
Also, you must create a record so POST must be used