General SFDC API questions2 Flashcards
What Is a Salesforce Call In?
Call In is used for exposing our webservices for other users
What Is a Salesforce Call Out
Call Out is used for invoking or consuming our webservices for others
How Soap Can Be Accessed ?
SOAP communicates through the WSDL file, without WSDL file we can’t do integration.
What is the message format for SOAP?
XML
How To Do Callout Integration ?
Generate WSDL code from class
How do you read the Root Element In the Xml Dom?
getroot element
How do you read the all the child elements In the Xml Dom?
getchild element
How do Soap And Rest communicate?
- SOAP communicates through the WSDL file
2. REST communicates through the HTTP file
What are the methods in Rest?
- HTTPGET
- HTTPPUT
- HTTPPOST
- HTTPDELETE
Which message formats does REST Supports
REST supports both:
- XML
- JSON
What is an external id in salesforce?
An external id is a custom field which can be used as a unique identifier in a record. External ids are mainly used while importing records/ data. When importing records, one among the many fields in those records needs to be marked as an external id (unique identifier).
Which all field data types can be used as external ids?
An important point to note is that only custom fields can be used as external ids. The fields that can be marked as external ids are text, number, e-mail and auto-number.
How many callouts to external service can be made in a single apex transaction?
Governor limits will restrict a single apex transaction to make a maximum of 100 callouts to an http request or an api call.
What Is Salesforce SOQL?
A query language that allows you to construct simple but powerful query strings and to specify the criteria that should be used to select the data from the platform database. SOQL Stands for Salesforce Object Query Language.
What are the types of SOQL statements in salesforce?
Salesforce object query language is used to query that records from the database.Com based on the requirement.
There are 2 types of SOQL statements:
- Static SOQL
- Dynamic SOQL