View source: R/bulk-operation.R
sf_batch_details_bulk | R Documentation |
This function returns detailed (row-by-row) information on an existing batch which has already been submitted to Bulk API Job
sf_batch_details_bulk(
job_id,
batch_id,
api_type = c("Bulk 1.0"),
verbose = FALSE
)
job_id |
|
batch_id |
|
api_type |
|
verbose |
|
A tbl_df
, formatted by Salesforce, with information containing
the success or failure or certain rows in a submitted batch, unless the operation
was query, then it is a data.frame containing the result_id for retrieving the recordset.
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:
job_info <- sf_create_job_bulk(operation = "query", object = "Account")
soql <- "SELECT Id, Name FROM Account LIMIT 10"
batch_query_info <- sf_submit_query_bulk(job_id = job_info$id, soql = soql)
batch_details <- sf_batch_details_bulk(job_id=batch_query_info$jobId,
batch_id=batch_query_info$id)
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.