View source: R/bulk-operation.R
sf_close_job_bulk | R Documentation |
This function closes a Job in the Salesforce Bulk API
sf_close_job_bulk(
job_id,
api_type = c("Bulk 1.0", "Bulk 2.0"),
verbose = FALSE
)
job_id |
|
api_type |
|
verbose |
|
A list
of parameters defining the now closed job
This is a legacy function used only with Bulk 1.0.
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch
## Not run:
my_query <- "SELECT Id, Name FROM Account LIMIT 10"
job_info <- sf_create_job_bulk(operation='query', object='Account')
query_info <- sf_submit_query_bulk(job_id=job_info$id, soql=my_query)
recordset <- sf_query_result_bulk(job_id = query_info$jobId,
batch_id = query_info$id,
result_id = result$result)
sf_close_job_bulk(job_info$id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.