Excel Add-In for Salesforce

Build 25.0.9539

GetBatchRecords

Fetches the original submitted records of a completed Salesforce batch job.

Stored Procedure-Specific Information

Retrieves the records submitted in a Bulk API batch.

To execute this procedure, enter:

EXEC GetBatchRecords JobId='7505Y00001B2sPBQAZ', BatchId='7515Y00001lusfQQAQ'

Input

Name Type Description
JobId String The Salesforce Job ID that the batch belongs to. Required to identify the batch context for retrieving records.
BatchId String The ID of the specific batch for which the original records are being retrieved.

Result Set Columns

Name Type Description
* String Original submitted records for this batch.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539