Salesforce Certified Omnistudio Consultant free question 6 / 10 · Domain 4: Integration Procedures
An external billing system must start an Integration Procedure through its REST endpoint and send the customer details as a JSON request body. Which call should the consultant specify?
- A PUT call to the URL of the Integration Procedure
- A POST call with the JSON in the request body
- A GET call with the JSON in the request body
- A GET call with the JSON text in the Type_SubType path
Show the answer and explanation
Answer: B
Why this is correct
The REST invocation page documents two methods, GET and POST. The difference is that a GET call can't pass data with a JSON request body, and the page lists a JSON request body as a POST-only way to pass parameters. A billing system that sends customer details as JSON therefore calls the procedure with POST.
Why the other options are wrong
"A GET call with the JSON in the request body" … A GET call can't pass data with a JSON request body. The page lists the JSON request body as a POST option.
"A GET call with the JSON text in the Type_SubType path" … Inline path values arrive as Path1 and Path2 keys under the options node. They do not form a JSON request body.
"A PUT call to the URL of the Integration Procedure" … The page documents GET and POST calls for invoking an Integration Procedure from a REST API. A PUT call is not one of them.
Key points
Use POST to send a JSON request body to an Integration Procedure. GET passes data only in the path or query parameters.