Salesforce Certified Marketing Cloud Engagement Developer free question 7 / 10 · Domain 3: API
A developer has a new object that does not exist yet and calls the Update method to add it. What does the documentation say?
- The call succeeds and returns the status Has Error with an empty result
- The call causes an error, as Update does not create objects
- The call creates the object when the Options parameter is set to CREATE
- The call creates the object, as Update adds an object that is missing
Show the answer and explanation
Answer: B
Why this is correct
Update changes an individual object or a batch of objects, and a batch can mix data types. It does not create objects, and the page says that using it to create an object causes an error. Use Create to add a new object.
Why the other options are wrong
"The call creates the object, as Update adds an object that is missing" … The page says not to use the Update method to create objects and that doing so causes an error.
"The call creates the object when the Options parameter is set to CREATE" … The page describes no option of the Update method that creates objects. Creating is done with the Create method.
"The call succeeds and returns the status Has Error with an empty result" … The page says that creating objects with Update causes an error. Has Error is the status for a batch where some operations failed and others succeeded.
Key point
Use Create to add objects. Update on a new object causes an error.