+ Start a Discussion

Bulk API and metadata api?

Hi friends

why  we use Bulk API and metadata api? Please explain with real example.
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.)