Batch Record Input
A description of multiple operations for a request to create, update, or delete a batch
of records.
- Example
-
POST /ui-api/records/batch
-
{ "allOrNone": false, "operations": [ { "type": "CREATE", "records": [ { "apiName": "Account", "fields": { "Name": "ACCOUNT 1" } }, { "apiName": "Contact", "fields": { "LastName": "Smith" } } ] }, { "type": "Update", "records": [ { "fields": { "Id": "001xx000003Gaf9AAC", "NumberOfEmployees": 1000 } } ] }, { "type": "Delete", "records": [ { "fields": { "Id": "001xx000003GanDAAS" } } ] } ] }
- Properties
-
Name Type Description Required or Optional Available Version allOrNone Boolean Specifies whether to stop processing the request and rollback any changes when the request encounters an error. The default is true. Optional 59.0 operations Batch Operation Input [] A description of records and operation types. Required 59.0