Data Model
Batch Management Metadata API
Batch Job Actions
Submit Failed Records Batch Job
IndustriesSettings
Industries Object Access by Community License
Access Industries Features Deployed Using Managed Packages
Previous Versions
Run to resubmit an existing batch job with failed records for processing. This action executes the batch job asynchronously.
This object is available in API version 52.0 and later.
To know the products and user permissions needed to access this action, See Supported Editions and Permissions for Batch Management.
URI: /services/data/vXX.X/actions/standard/submitFailedRecordsBatchJob
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: GET, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
failedRecordIds | array | The IDs of failed records in a batch job. |
parentBatchJobId | string | Required. The ID of a batch job with failed records. |
| Output | Type | Description |
|---|---|---|
batchJobId | string | The ID of a batch job generated after the request is successful. This batch job ID is used to track the progress of the batch job in Monitor Workflow Services in the org. |
status | string | Indicates whether a batch job succeeded or failed. |
JSON Sample Request
1{
2 "inputs": [{
3 "parentBatchJobId": "0mdRM0000004DXrYAM",
4 "failedRecordIds": [
5 "001RM000005AG0bYAG", "001RM000005AERZYA4", "001RM000005AG0WYAW"
6 ]
7 }]
8}JSON Sample Response
1[ {
2 "actionName" : "submitFailedRecordsBatchJob",
3 "errors" : null,
4 "isSuccess" : true,
5 "outputValues" : {
6 "batchJobId" : "0mdRM0000004DZ9YAM"
7 }
8} ]