Learn R Programming

RForcecom (version 1.1)

rforcecom.checkBatchStatus: Checking the Status of a Batch in a Bulk API Job

Description

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

Usage

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

Run this code
## Not run: 
# batch_status <- rforcecom.checkBatchStatus(session, jobId=job_info$id, batchId=batches_info[[1]]$id)
# ## End(Not run)

Run the code above in your browser using DataLab