Salesforce composite upsert Sink
Upsert Composite List of sObjects in Salesforce.
The body received must contain List of JSON SObjects to insert/update inside the records attribute, for example:
{"records" : ["attributes" : {"type" : "KameletSinkSObject__c"},"ExtId__c" : "1","Name__c": "Ziauddin", "City__c": "Bhopal"], ["attributes" : {"type" : "KameletSinkSObject__c"},"ExtId__c" : "2","Name__c": "Shaikh", "City__c": "Bhopal"] }
Metadata
| Property |
Value |
| Type |
sink |
| Group |
Salesforce |
| Namespace |
Salesforce |
| Support Level |
Stable |
| Provider |
Apache Software Foundation |
Properties
| Name |
Type |
Required |
Default |
Description |
sObjectName |
string |
✓ |
|
The type of the Salesforce object. Required if using a key-value pair. |
sObjectIdName |
string |
✓ |
|
The Field Name of the External ID of the Salesforce object. Required if using a key-value pair. |
loginUrl |
string |
|
https://login.salesforce.com |
The Salesforce instance login URL. |
clientId |
string |
✓ |
|
The Salesforce application consumer key. |
clientSecret |
string |
✓ |
|
The Salesforce application consumer secret. |
userName |
string |
✓ |
|
The Salesforce username. |
password |
string |
✓ |
|
The Salesforce user password. |
Dependencies
camel:core
camel:jsonpath
camel:jackson
camel:salesforce
camel:kamelet