APEX Rest webservice with real time project using Apex

apex rest webservices and create a conference management application using APEX
4.1 (73 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
576 students enrolled Bestselling in APEX
91% off
Take This Course
  • Lectures 43
  • Length 4 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course Description

## LAST update on August 23rd, 2016 ##

##NO other course related to this topic in UDEMY ####

## You will get to create a real time project using APEX from start to finish ####

##This course will add value to your resume and to your career as salesforce consultant.##

This course will give you insight into the world of webservices..This course not only covers everything about webservices(REST and SOAP) but also walks you through the process of creating a real time application in salesforce from start to finish which you can use as project in your resume and will help to build up your resume and also you will get idea about how the real time applications are done in salesforce rather then just power point presentation. You will learn better when you actually do exercises.

What are the requirements?

  • They should have basic understanding of Object oriented concepts
  • Basic of Salesforce platform

What am I going to get from this course?

  • Integrate Salesforce application with external applications
  • Create there own custom application using APEX
  • Expose there apex methods as SOAP webservices
  • Able to answer any interview questions related to APex and webservices
  • Create controller extension,Trigger, Apex Class, Apex Test class,Custom controller, Restful webservices and SOAP webservices

Who is the target audience?

  • This course is for Salesforce Admin, Developers who want to dive deep into Salesforce world
  • Anyone who want to learn about start and finish of real time application
  • Anyone who wants to add a new salesforce project to their resume

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction to the course
Introduction to the course
Section 2: Salesforce Conference Management Application from scratch

In this tutorial, you use the Salesforce Platform to build a conference management application that allows conference administrators to manage all the aspects of a conference: sessions, speakers, hotels, etc.

What You Will Learn

  • Create Custom Objects
  • Use declarative features of the platform to create an Application, create Tabs, and optimize Page Layouts
  • Create Apex Classes
  • Use SOQL and DML to query, create, update and delete data
  • Create Triggers
  • Create Visualforce Pages
  • Create Controller Extensions and Custom Controllers
  • Use JavaScript in Visualforce Pages
  • Authenticate using OAuth
  • Access Salesforce data from JavaScript using JavaScript Remoting
  • Create Unit Tests
Creating a Developer's Account

In this tutorial, we will create the custom objects that make up the data model for the conference application.Please check the resources tab, i have added step by step instructions to add these custom object


The Session_Speaker object is used to model the many-to-many relationship between Session and Speaker: a session can have one or many speakers, and a speaker can have one or many sessions.

Create the Session_Speaker Junction Object
How to create a junction object in salesforce??

In this tutorial, we will create Tabs to provide access to the Session and Speaker objects. we group these tabs together in an Application to make them easier to access.Please check the resource attached


In this tutorial we will optimize Page Layouts to show relevant information in the Speaker and Session lists.


Apex is a strongly typed, object-oriented programming language that you use to execute code in your Saleforce instance. The Apex syntax is similar to Java and also includes built-in support for database operations.


In this tutorial, we will create an EmailManager class that encapsulates the logic to send confirmation emails to the conference speakers.

Link for the source code:



SOQL is the Salesforce Object Query Language. It is similar to SQL. We use SOQL to retrieve data in Salesforce. We use the Salesforce Data Manipulation Language (DML) to insert, update and delete data.


In this tutorial, we will use the Developer Console to familiarize ourself with SOQL and DML. Checkout the resource attached

Difference between DML statements and Database methods,when to choose which one?

In this tutorial, we will create a trigger that sends confirmation emails to speakers when they are assigned to a session. We will create another trigger that rejects double bookings of speakers.




In this tutorial, we will create a Visualforce page to provide a custom user interface for creating and editing speakers.



In this tutorial, we will enhance the Visualforce page we built in previous tutorials: we will create a controller extension that allows users to upload speaker pictures.


Section 3: Using JavaScript in Visualforce Pages
Creating the Hotel object to store the info about different conference hotels

In this tutorial, we will create a custom controller with a method that returns a list of conference hotels. We will create a Visualforce page that invokes that method using JavaScript Remoting, and uses the Google Maps SDK to display the hotels on a map.



Section 4: REST Web Services

You can expose your Apex class and methods so that external applications can access your code.This is done by defining your Apex class with the @RestResource annotation to expose it as a REST resource.


JSON is short for JavaScript Object Notation, and is a way to store information in an organized, easy-to-access manner.


Workbench is a powerful, web-based suite of tools designed for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs. Workbench also provides many advanced features for testing and troubleshooting the Force.com APIs, such as customizable SOAP headers, debug logs for API traffic, backward compatibility testing with previous API versions, and single sign-on integration within the Salesforce application.

Get the code from Github
2 pages

In this tutorial, we will create a HTTP get method to retrieve the Cases associated with an Account. GET method corresponds to READ operation.

Note:I have attached the link to the source code



In this lecture we will use @HttpDelete to delete the cases which are closed status.The @HttpDelete annotation is used at the method level and enables you to expose an Apex method as a REST resource. This method is called when an HTTP DELETE request is sent, and deletes the specified resource.

To use this annotation, your Apex method must be defined as global static.

Note: I have attached the link to the source code.


In this lecture we will create a new Account into salesforce using @httpPost annotation.The @HttpPost annotation is used at the method level and enables you to expose an Apex method as a REST resource. This method is called when an HTTP POST request is sent, and creates a new resource.

To use this annotation, your Apex method must be defined as global static.

Note: I have attached the link to the source code.


1 page

Please try to do this assignment and if you want to check your answer you can go the link



The @HttpPatch annotation is used at the method level and enables you to expose an Apex method as a REST resource. This method is called when an HTTP PATCH request is sent, and updates the specified resource.

To use this annotation, your Apex method must be defined as global static.

Note: checkout the source code for this tutorial


10 questions

This quiz provides Multiple Choice Questions (MCQs) related to RESTful Frameword. You will have to read all the given answers and click over the correct answer.

Section 5: Complex Rest API Call related to Account object

The link for the souce code :



link for the source code :



link for the source code:



link for the source code:



Link for the source code:



Link for the source code:



Link for the source codE:



Testing is an important part of the development process. Before you can deploy Apex or package it for theForce.com AppExchange,at least 75% of your Apex code must be covered by unit tests, and all of those tests must complete successfully.

Link for the source code:



Create the Book object with the following fields before the next tutorial:


Apex triggers enable you to perform custom actions before or after changes toSalesforce records, such as insertions, updates, or deletions.For example, you can have a trigger run before an object's records are inserted into the database, after records have been deleted, or even after a record is restored from the Recycle Bin.

link for the source code:




  • Apex SOAP Web services allow an external application to invoke Apex methods through SOAP Web services.Apex callouts enable Apex to invoke external Web or HTTP services.
  • Apex REST API exposes your Apex classes and methods as REST Web services.

Link for the source code:



Section 6: BONUS Courses

Thank you so much for enrolling in my course and just to say thank you I have added some links to my courses which you can get  for 90% DISCOUNT

Interview Question And Answers

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Deepika Khanna, JAVA, J2EE,Salesforce, & Android Developer,Teacher

I am a Java/J2EE and salesforce developer, have been writing and working with software for the past 5 years. I currently live in Dallas/TX.

If your goal is to become one of these:

Android Developer

JAVA/J2EE Developer

Salesforce Developer

Then checkout my courses. I have close to 10000 students in and out of udemy. My passion is helping people around the world and guide them into the world of programming.

I am Oracle certified JAVA ,J2EE developer. I love coffee, music, exercise,coding and technology. See you in my course:)

Ready to start learning?
Take This Course