Learn R Programming

RForcecom (version 1.1)

rforcecom.submitBulkQuery: Submit Bulk Query Batch to a Bulk API Job

Description

This function takes a SOQL text string and submits the query to an already existing Bulk API Job of operation "query"

Usage

rforcecom.submitBulkQuery(session, jobId, query)

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
query
a character string defining a valid SOQL query on the Salesforce object associated with the job

Value

A list parameters of the batch

References

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

Examples

Run this code
## Not run: 
# my_query <- "SELECT Id, Name FROM Account LIMIT 10"
# query_info <- rforcecom.submitBulkQuery(session, jobId=job_info$id, query=my_query)
# ## End(Not run)

Run the code above in your browser using DataLab