function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Huy NguyenHuy Nguyen 

How to send data from saleforce to external system

Hi expert,

I am new in web service region. can any one help me to give an example apex class how to send data from salesforce to external system ?

Thanks
Mudasir WaniMudasir Wani
Hi Huy,

You may require to have a look on Creating REST APIs using Apex REST below is the link for the same.

https://developer.salesforce.com/page/Creating_REST_APIs_using_Apex_REST

The Force.com REST API lets you use a simple and lightweight API to access Force.com data, using standard OAuth, together with a choice of data flavors – XML and JSON. The REST API is configured out of the box to suit the basic CRUD (create, read, update and delete) operations of data management.

Apex REST augments this functionality and makes it possible for developers to create your own REST-based web services using Apex. It has all of the advantages of the REST architecture, provides the ability to define custom logic and includes automatic argument/object mapping.

This article provides an introduction and overview of the Apex REST functionality, showing you how to take your first steps in creating REST-based web services in Apex. As Apex REST builds on the Force.com REST implementation itself,
the Getting Started with the Force.com REST API article is recommended reading.
Here is a link 
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_REST_API

Don't forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
 
SarfarajSarfaraj
Hi

This example illustrates a sample with external Java application,

https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts

Here is one more generic approach,

https://developer.salesforce.com/page/Integrating_with_the_Force.com_Platform

--Akram
Mudasir WaniMudasir Wani
Huy If any of the above post solves your problem then mark that as best answer.
Because if anyone have this problem this post may help.

Best answer makes our efforts visible in the developer forum

Thanks
 
Mohit Yadav 48Mohit Yadav 48
How to migrate data and perform basic CRUD operation between .net application and salesforce  
rahul soni 20rahul soni 20

Hello, I have the same concern. I need to push analytic dashboard to external layer like on a webpage.

How do i do that. REST api will play a roll in this, i get it.
can someone elobrate process?