Complete batch
Use the following details to complete a batch using the REST interface:
HTTP Method
POST
Endpoint URL
See the REST Service Endpoint topic for more details.
Resource
/restapi/v1/complete-batch/{batchId}/{action}
Request Parameters
To complete or rollback batches, use the complete batch operation. You need the PERM_COMPLETE_BATCH
permission to call this operation. Then, provide values for the following parameters:
Parameter Name | Data Type | Cardinality | Description |
---|---|---|---|
batchId | string | Mandatory | The ID of the batch to start must be unique. |
requestAction | string | Mandatory | This is the batch action to complete. It can either be
commit or
rollback . |
Response Model
{ "result": { "code": { "severity": "Success", "message": "Success.", "code": "0000" }, "params": [], "message": "Success." }, "data": null, "startTimestampMS": 1659607001238, "duration": 130 }