Skip to content

Instantly share code, notes, and snippets.

@arun12209
Last active July 12, 2023 18:46
Show Gist options
  • Save arun12209/67affe407cb0020b070b84656c4e7287 to your computer and use it in GitHub Desktop.
Save arun12209/67affe407cb0020b070b84656c4e7287 to your computer and use it in GitHub Desktop.
{
"compositeRequest": [
{
"method": "POST",
"url": "/services/data/v52.0/sobjects/Account",
"referenceId": "newAccount",
"body": {
"Name": "Acme Inc."
}
},
{
"method": "POST",
"url": "/services/data/v52.0/sobjects/Contact",
"referenceId": "newContact",
"body": {
"LastName": "Smith",
"FirstName": "John",
"AccountId": "@{newAccount.id}"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment