Submit Failed Records Batch Job

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.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/submitFailedRecordsBatchJob
Formats
JSON
HTTP Methods
GET, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
failedRecordIds
Type
array
Description
The IDs of failed records in a batch job.
parentBatchJobId
Type
string
Description
Required. The ID of a batch job with failed records.

Outputs

Output Details
batchJobId
Type
string
Description
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
Type
string
Description
Indicates whether a batch job succeeded or failed.

Usage

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} ]