Checking the Status of a Batch in a Bulk API Job

Share:

Description

This function checks on and returns status information on an existing batch which has already been submitted to Bulk API Job

Usage

1
rforcecom.checkBatchStatus(session, jobId, batchId)

Arguments

session

a named character vector defining parameters of the api connection as returned by rforcecom.login

jobId

a character string defining the salesforce id assigned to a submitted job as returned by rforcecom.createBulkJob

batchId

a character string defining the salesforce id assigned to a submitted batch as returned by rforcecom.createBulkBatch

Value

A list of parameters defining the batch identified by the batchId

References

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/

Examples

1
2
3
4
## Not run: 
batch_status <- rforcecom.checkBatchStatus(session, jobId=job_info$id, batchId=batches_info[[1]]$id)

## End(Not run)