Salesforce Certified Application Architect

Sunday 29 December 2013

Which API Should I Use?

Salesforce provides programmatic access to your organization’s information using simple, powerful, and secure application programming interfaces.

API NameWhat It’s ForWhen to Use ItProtocolData FormatCommunication
REST APIAccessing objects in your organization using REST.You want to leverage the REST architecture to integrate with your organization. No WSDL requirement.
Well-suited for browser-based applications, mobile apps, and highly-interactive social applications.
RESTJSON, XMLSynchronous
SOAP APIIntegrating your organization’s data with other applications using SOAP.You have pre-existing middleware services that need to work with WSDLs and XML data.SOAP/WSDLXMLSynchronous
Chatter REST APIAccessing Chatter feeds and social data such as users, groups, followers, and files using REST.You want to integrateChatter into a variety of applications, such as mobile apps, intranet sites, and third-party Web applications.RESTJSON, XMLSynchronous (photos are processed asynchronously)
Bulk APILoading or deleting large numbers of records.You have over a million records to process and speed is a requirement.RESTCSV, XMLAsynchronous
Metadata APIManaging customizations in your organization and building tools that can manage the metadata model, not the data itself.You want to migrate changes, such as custom object definitions and page layouts, from asandbox to your production environment.SOAP/WSDLXMLAsynchronous
Streaming APIProviding a stream of data reflecting data changes in your organization.You need near real-time notifications of when records are created or updated.BayeuxJSONAsynchronous (stream of data)
Apex REST APIBuilding your own REST API in Apex. ExposesApex classes as RESTful Web services.You need to build custom JSON responses or you want to expose custom functionality that you implemented in Apex.RESTJSON, XML, CustomSynchronous
Apex SOAP APICreating custom SOAP Web services in Apex. Exposes Apex classes as SOAP Web services.You need to build custom XML responses or you want to expose custom functionality that you implemented in Apex .SOAP/WSDLXMLSynchronous
Tooling APIBuilding custom development tools forForce.com applications.You want to add functionality to your existing development and integration tools or you want to build specialized development tools for a specific application or service.REST and SOAPJSON, XML, CustomAsynchronous

No comments:

Post a Comment

Salesforce Certified Application Architect & Certified Data Architecture and Management Designer Exam

How to pass Salesforce Certified Data Architecture and Management Designer Exam This exam was 1st architect exam for me. Its not that muc...