HTTP methods supported by the Salesforce REST API.
A type that defines a record returned by the query.
Return type of executeApiRequest.
A type that defines the expected response data.
Response data.
Response HTTP status code.
Salesforce REST API object record type, used throughout the API including as a response for GET
requests to the sObject Rows endpoint
when retrieving individual records.
Use this type when defining types for objects in your Salesforce org, for example:
type Contact = SalesforceRestApiSObject<{
FirstName: string,
LastName: string,
Name: string,
Salutation: null,
}>;
A type that defines the object’s fields.
Attributes type for the SalesforceRestApiSObject type.
Object describe type for the SalesforceRestApiSObjectBasicInfoResponse type.
URLs type for the SalesforceRestApiSObjectBasicInfoObjectDescribe type.
Salesforce REST API response type for GET
requests to the sObject Basic Information endpoint,
for retrieving individual metadata for an object.
A type that defines the recent items listed in the response.
Salesforce REST API response type for POST
requests to the sObject Basic Information endpoint,
for creating a new record for a given object.
Salesforce REST API response type for requests to the Search or Parameterized Search endpoints, for executing searches.
A type that defines a record returned by the search.
Establishes a connection with a Salesforce org. Requires that a Connected App has been registered with the Salesforce org.
In order for the user to authorize the app, a window is opened to the auth endpoint of the Salesforce org. The user logs in and then authorizes the app to access their Salesforce data, at which point the promise resolves with a connection object.
If an existing connection exists that is still valid, that connection will be returned without the user having to re-auth.
If the authorization process is not completed successfully for any reason, or if a connection cannot be established to the Salesforce org, an error will be thrown.
The base URI of the Salesforce org to connect to, which should be in the form: https://MyDomainName.my.salesforce.com.
The Consumer Key of the Connected App to use for authorization.
Set to true
if the Salesforce org is a sandbox.
A connection which can be used to retrieve data and execute requests against the Salesforce org.
Disables module logging if it has been enabled by a call to enableLogging.
This function is registered globally so you can disable logging at any time by calling:
window.fin.Integrations.Salesforce.disableLogging();
Enables module logging to the console for debugging/troubleshooting purposes. This is off by default.
This function is registered globally so you can enable logging at any time by calling:
window.fin.Integrations.Salesforce.enableLogging();
Retrieves an existing connection with a Salesforce org, created using the connect function.
The same org URL and consumer key values must be specified as was used when the connection was established, otherwise the connection will not be found.
The base URI of the connected Salesforce org, which should be in the form: https://MyDomainName.my.salesforce.com.
The consumer key of the Connected App used to connect.
The existing connection object, or null
if no existing connection is found.
Generated using TypeDoc
Connect OpenFin Container with Salesforce.