Newer Version Available
Batch Operation Input
Represents the operation type and record data to create, update, and delete in a
batch.
- JSON example
-
1"operations": [ 2 { 3 "type": "CREATE", 4 "records": [ 5 { 6 "apiName": "Account", 7 "fields": { 8 "Name": "Global Media" 9 } 10 }, 11 { 12 "apiName": "Contact", 13 "fields": { 14 "LastName": "Smith" 15 } 16 } 17 ] 18 }, 19 { 20 "type": "UPDATE", 21 "records": [ 22 { 23 "fields": { 24 "Id": "001xx000003Gaf9AAC", 25 "NumberOfEmployees": 1000 26 } 27 } 28 ] 29 }, 30 { 31 "type": "DELETE", 32 "records": [ 33 { 34 "fields": { 35 "Id": "001xx000003GanDAAS" 36 } 37 } 38 ] 39 } 40 ] - Properties
-
Name Type Description Required or Optional Available Version type String The type of record operation. Valid values include: Required 59.0 records Record Input [] A description of a record or multiple records to create, update, and delete. Required 59.0