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
learn_cloudsflearn_cloudsf 

Bulk API and metadata api?

Hi friends

why  we use Bulk API and metadata api? Please explain with real example.
VineetKumarVineetKumar
Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. 
You can use it to query, insert, update, upsert, or delete many records asynchronously by submitting batches.
Salesforce processes batches in the background.

Use Metadata API to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment. Metadata API is intended for managing customizations and for building tools that can manage the metadata model, not the data itself.


In short Bulk API is used for inserting, updating, deleting huge number of data (records in salesforce)
Metadata API gives you information about the metadata of your organisation (say fields, objects, permission etc.)


Reference 
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm