How can you expose an Apex class as a REST WebService in Salesforce?Salesforce interview questions for experienced/Salesforce Interview Questions and Answers for Freshers & Experienced

How can you expose an Apex class as a REST WebService in Salesforce?

You can expose your Apex class and methods so that external applications can access your code and your application through the REST architecture. This is done by defining your Apex class with the @RestResource annotation to expose it as a REST resource. You can then use global classes and a WebService callback method.

Invoking a custom Apex REST Web service method always uses system context. Consequently, the current user’s credentials are not used, and any user who has access to these methods can use their full power, regardless of permissions, field-level security, or sharing rules.

Posted Date:- 2021-10-14 08:00:51

What are getter and setter methods?

When should Apex be used over Workflow rules or Process Builder?

Is there a limit for data.com records?

What is a static resource in Salesforce?

How is SaaS beneficial to Salesforce?

What is Multitenant Architecture in Salesforce?

When do we use Sandbox?

What is the difference between public classes and global classes in Salesforce Apex?

What is Apex Managed Sharing?

Where we can use Lightning Components?

What can cause data loss in Salesforce?

Differentiate between Salesforce Object Query Language and Salesforce Object Search Language.

What is Object Relationship Overview?

Can you describe an example Service process that a company might implement?

What is the Salesforce Lightning Experience, and how does it help organisations?

Can you explain how Salesforce releases work?

What is Apex Interface?

List various types of reports available in Salesforce.

What is the difference between insert() and database .insert()?

Is it possible to restrict access to data using sharing rules?

What is the difference between public and global class in Apex?

What is an sObject type?

What is a Visualforce component?

What is the minimum test coverage required to deploy a trigger?

What is trigger.new?

What are triggers in Salesforce? How are they different from workflows?

What are the different methods of batch Apex class?

What is the use of “@future” annotation?

Can you have a roll-up summary field in the case of a Master–Detail relationship?

What is the junction object and what is it used for?

What happens to the Detail (Child) record when a Master (Parent) record is deleted?

How many records can a select query return? How many records can a SOSL query return?

How can you call a controller method from JavaScript?

What is the difference between a standard controller and a custom controller?

How can you expose an Apex class as a REST WebService in Salesforce?

How many callouts to external service can be made in a single Apex transaction?

What is an external ID in Salesforce? Which all field data types can be used as external IDs?

Can two profiles be assigned to one user?

What can cause data loss in Salesforce?

List some examples of custom fields?

Explain about object relationship overview?

What are the examples of non-deterministic Force.com formula fields?

What is the difference between a Role and Profile in Salesforce?

What are custom labels in Salesforce? What is the character limit of custom label?

What are the types of custom settings in Salesforce? What is the advantage of using custom settings?

For which criteria in workflow “time dependent workflow action” cannot be created?

Explain skinny table. What are the considerations for skinny table?

How to handle comma within a field while uploading using Data Loader?

What is fiscal year or economical year in Salesforce?

What are page layouts related to Salesforce?

Search
R4R Team
R4R provides Salesforce Freshers questions and answers (Salesforce Interview Questions and Answers) .The questions on R4R.in website is done by expert team! Mock Tests and Practice Papers for prepare yourself.. Mock Tests, Practice Papers,Salesforce interview questions for experienced,Salesforce Freshers & Experienced Interview Questions and Answers,Salesforce Objetive choice questions and answers,Salesforce Multiple choice questions and answers,Salesforce objective, Salesforce questions , Salesforce answers,Salesforce MCQs questions and answers Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher R4r provides Python,General knowledge(GK),Computer,PHP,SQL,Java,JSP,Android,CSS,Hibernate,Servlets,Spring etc Interview tips for Freshers and Experienced for Salesforce fresher interview questions ,Salesforce Experienced interview questions,Salesforce fresher interview questions and answers ,Salesforce Experienced interview questions and answers,tricky Salesforce queries for interview pdf,complex Salesforce for practice with answers,Salesforce for practice with answers You can search job and get offer latters by studing r4r.in .learn in easy ways .