Set Salesforce Connector Profile Configurations
Learn about setting profile configurations for the specified tenant
This operation sets Salesforce connector profile configurations for the specified tenant. The Request body in the JSON format defines a new configuration with a name. If a configuration with this name exists, it is replaced, and ReltioSQS field from the old profile configuration is added to the new profile configuration. If the profile configuration the specified name does not exist, a new profile is created, and ReltioSQS field is provided from the connector configuration. It contains the sqsTemplate field, which contains a template as follows:
"sqsTemplate":{
"reltioSQS": {
"awsOwner": "<owner>",
"queue": "<queue name>"
}
}
Request
Operation Endpoint:
POST {Salesforce connector URL}\configuration\{tenantId}\{profileName}| Parameter | Required | Description | |
|---|---|---|---|
| Headers | Authorization | Yes | Access Token in format "Bearer (see details in Authentication API) |
Content-Type | Yes | Must be "
| |
| Query | tenantId | Yes | Tenant ID |
| Query | profileName | Yes | Name of the Profile |
| Query | generateDefaultMapping | No | Must be the default mapping generated. Possible values: true and false. Default value: false. Parameter will be processed only for new profiles. Note, that default mapping may be generated only if the tenant contains source: 'configuration/sources/Salesforce'. |
| Body | Yes |
| |
Response
- Success: HTTP 200
{profileName} has been updated - Error: HTTP 400
{ "error": { "reason": "<error description>" } }