Which two design specifications should the Integration Architect include in the integration architecture to ensure that ApexREST API Clients unit tests confirm adherence to the RAML specs?

CORRECT TEXT

Northern Trail Outfitters wants to improve the quality of call-outs from Salesforce to their REST APIs. For this purpose, they will require all API clients/consumers to adhere to RESTAPI Markup Language (RAML) specifications that include field-level definition of every API request and response payload. RAML specs serve as interface contracts that Apex REST API Clients can rely on.

Which two design specifications should the Integration Architect include in the integration architecture to ensure that ApexREST API Clients unit tests confirm adherence to the RAML specs? Choose 2 answers
A . Call the Apex REST API Clients in a test context to get the mock response.
B. Require the Apex REST API Clients to implement the HttpCalloutMock.
C Call the HttpCalloutMock implementation from the Apex REST API Clients.
D. Implement HttpCalloutMock to return responses per RAML specification.

Answer: A, D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments