<< Prev Question Next Question >>

Question 23/45

Which annotation exposes an Apex class as a RESTful neb service?

Recent Comments (The most recent comments are at the top.)

Mark - Apr 23, 2022

Again provided the wrong answer.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_rest_resource.htm
RestResource Annotation
The @RestResource annotation is used at the class level and enables you to expose an Apex class as a REST resource.

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (45q)
Question 1: Consider the controller code above that is called from a Lig...
Question 2: A company has a web page that needs to get Account record in...
Question 3: A developer receives the exception 'SOQL query not selective...
2 commentQuestion 4: How should a developer verify that a specific Account record...
5 commentQuestion 5: A company manages information about their product offerings ...
Question 6: A company notices that their unit tests in a test class with...
4 commentQuestion 7: A developer creates an application event that has triggered ...
Question 8: A developer sees test failures in the sandbox but not in pro...
Question 9: An Apex Trigger creates a Contract record every time an Oppo...
Question 10: There are user complaints about slow render times of a custo...
3 commentQuestion 11: A company uses Opportunism to track sales to their customers...
2 commentQuestion 12: Universal Containers needs to integrate with a Heroku servic...
Question 13: A developer created a new trigger that inserts a Task when a...
2 commentQuestion 14: A developer wants to integrate invoice and invoice line data...
1 commentQuestion 15: Exhibit: (Exhibit) What should be added to the setup, in the...
Question 16: The use of the transient keyword In Visualforce Page Control...
2 commentQuestion 17: A managed package uses a list of country ISO codes and count...
1 commentQuestion 18: A developer is trying to decide between creating a Visualfor...
2 commentQuestion 19: Sometimes events on Salesforce need to be handled by an exte...
Question 20: A Visualforce Page throws an Attempt to dereference a null o...
2 commentQuestion 21: What is a benefit of JavaScript remoting over Visualforce Re...
Question 22: A developer is writing a Visualforce page that queries accou...
1 commentQuestion 23: Which annotation exposes an Apex class as a RESTful neb serv...
2 commentQuestion 24: Example 1: AggregateResult[] groupedResults = [SELECT Campai...
Question 25: messages are rendering on the page. Which component should b...
1 commentQuestion 26: Which method should be used to convert a Date to a String in...
Question 27: What is a benefit of using a WSDL with Apex?...
Question 28: Consider the code above. (Exhibit) When a user dicks on the ...
Question 29: Which scenario requires a developer to use an Apex callout i...
Question 30: An Apex trigger and Apex class increment a counter, Edit_Cou...
Question 31: A developer needs to implement a system audit feature that a...
3 commentQuestion 32: A Lightning Component has a section that displays some infor...
Question 33: Universal Containers allows customers to log into a Salesfor...
Question 34: A developer is writing a Visualforce page that queries accou...
Question 35: For compliance purposes, a company is required to track long...
Question 36: Exhibit: (Exhibit) The test method above tests an Apex trigg...
Question 37: A company has many different unit test methods that create A...
Question 38: The test method above calls an @future method that increment...
1 commentQuestion 39: An org has a requirement that an Account must always have on...
Question 40: A company has a custom object Sales_Help_Request__c that has...
Question 41: How should a developer assert that a trigger with an asynchr...
Question 42: A developer Is asked to develop a new AppExthange applicatio...
Question 43: A user receives the generic "An internal server error has oc...
Question 44: A developer needs to send Account records to an external sys...
Question 45: UC Loans is a small company with a part time Salesforce admi...