Override the APi version used for the bulk requests. When set the apiVersion is preferred over the API version of the current connection version
Private
Readonly
connectionStatic
ingestDefault ingest endpoint url format where apiVersion
is replaced by the API version of the client or
connection controlling which fields and objects are accessible through the bulk API
Static
queryDefault ingest endpoint url format where apiVersion
is replaced by the API version of the client or
connection controlling which fields and objects are accessible through the bulk API
Creates a job representing a bulk operation and its associated data that is sent to Salesforce for asynchronous processing. Provide job data via an Upload Job Data request or as part of a multipart create job request.
Bulk API request
Optional
data: TRecord[]Data to upload
Insert data using the Bulk API 2.0
SObject Type
Data to insert
Optional
token: CancellationTokenoptional cancellation token
BulkIngestJob object
Creates a query job and
SOQL query for the job
Optional
options: { Optional
includeQuery job that can be awaited
Update data using the Bulk API 2.0
SObject Type
Data to update
optional external ID field to use for updates
Optional
token: CancellationTokenoptional cancellation token
Update or insert data using the Bulk API 2.0
SObject Type
Data to update
optional external ID field to use for upserts
Optional
token: CancellationTokenoptional cancellation token
Salesforce Bulk API 2.0 client that supports both ingest (update, insert, upsert) operations as well as query operations.
Usage sample for querying account data:
Usage sample for inserting account data: