in Technology by
What are example of a Salesforce API and its usage?

1 Answer

0 votes
by

alesforce provides a variety of APIs that allows the developers to interact with the system in many ways. They are:

REST:

  • By using REST API you can easily integrate with Salesforce applications using simple HTTP methods in either XML or JSON formats. It is an ideal API for developing mobile applications or external clients.
  • Consider an example of retrieving information about the Salesforce version. You need to submit a request for the Versions resource by using the following code:
    curl https://yourInstance.salesforce.com/services/data/
  • You have to replace the “your instance” text with the instance for your organization.
    The output from this request is as follows.
[
    {
        "label" : "Winter '12",
        "url" : "/services/data/v23.0",
        "version" : "23.0"
    }
    ...
]

Bulk: The Bulk API provides programmatic access that lets you quickly loading and querying a huge amount of data into your Salesforce organization.

Streaming: The Streaming API can be used to trigger and receive notifications, whenever changes into Salesforce data are made according to the defined SOQL query criteria. It is useful when you want notifications to be pushed from the server to the client based on your defined criteria.

Related questions

0 votes
    Salesforce API calls are 1. Some of the calls are asynchronous, rollback on error 2. Service requests and ... responses, synchronous, committed automatically v/s rollback on error...
asked Jun 27, 2021 in Technology by JackTerrance
0 votes
    What do API calls in Salesforce represent? 1. Specific operations invoked by your client applications at runtime to ... in the background 4. Operations running in the foreground...
asked Jun 27, 2021 in Technology by JackTerrance
0 votes
    The Salesforce.com API seems to assume that you will always use the app as an active user. Their ... require user interaction? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    The Salesforce.com API seems to assume that you will always use the app as an active user. Their ... require user interaction? Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I would like to integrate SalesForce information into a .net MVC application. The samples on SalesForce website are ... .NET Thanks. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    I'm a little confused. We downloaded the WSDL file from Salesforce and created a web reference to it using a ... step? Any advice? Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    Friends, I have a contact us/Inquiry form in my website. I want to generate a lead in Sales force CRM on ... any link for API. Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    I'm trying to update a record via the SalesForce API (Enterprise WSDL). The code below executes fine, and the ... updateParticipant }); if (result == null || result.Length...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    I'm trying to execute a SOQL query using Salesforce REST API which will return 2,749 results. However, it seems ... the REST API. Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    What isIdempotence and its usage?...
asked Jul 24, 2021 in Technology by JackTerrance
0 votes
    Describe the header file and its usage in C programming?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    What do you understand by a client script? What is its usage?...
asked May 25, 2021 in Technology by JackTerrance
0 votes
    Describe static function with its usage?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    What is the full form of CMDB, and what is its usage?...
asked May 24, 2021 in Education by JackTerrance
0 votes
    I am inputting a 200mb file in my application and due to a very strange reason the memory usage of ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
...