Created
July 14, 2020 08:44
-
-
Save IW-hub/8510edab6a1c2788e7e90f18940bc772 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"records": [ | |
{ | |
"attributes": { | |
"objectType": "Account", | |
"referenceId": "ref1" | |
}, | |
"name": "sampleAccount1", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", | |
"numberOfEmployees": "100", | |
"industry": "Banking", | |
"contacts": { | |
"records": [ | |
{ | |
"attributes": { | |
"objectType": "Contact", | |
"referenceId": "ref2" | |
}, | |
"lastName": "Smith", | |
"title": "President", | |
"email": "sample@salesforce.com" | |
}, | |
{ | |
"attributes": { | |
"objectType": "Contact", | |
"referenceId": "ref3" | |
}, | |
"lastName": "Evans", | |
"title": "Vice President", | |
"email": "sample@salesforce.com" | |
} | |
] | |
} | |
}, | |
{ | |
"attributes": { | |
"objectType": "Account", | |
"referenceId": "ref4" | |
}, | |
"name": "SampleAccount2", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", | |
"numberOfEmployees": "52000", | |
"industry": "Banking", | |
"childAccounts": { | |
"records": [ | |
{ | |
"attributes": { | |
"objectType": "Account", | |
"referenceId": "ref5" | |
}, | |
"name": "SampleChildAccount1", | |
"phone": "1234567890", | |
"website": "www.salesforce.com", | |
"numberOfEmployees": "100", | |
"industry": "Banking" | |
} | |
] | |
}, | |
"contacts": { | |
"records": [ | |
{ | |
"attributes": { | |
"objectType": "Contact", | |
"referenceId": "ref6" | |
}, | |
"lastName": "Jones", | |
"title": "President", | |
"email": "sample@salesforce.com" | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment