Unify and manage your data

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}
Table 1. Parameters
Parameter Required Description
HeadersAuthorizationYesAccess Token in format "Bearer <accessToken>" (see details in Authentication API)
Content-TypeYesMust be "Content-Type: application/json"
QuerytenantIdYesTenant ID
QueryprofileNameYesName of the Profile
QuerygenerateDefaultMappingNoMust 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'.

BodyYes
{
    "salesforce": {
        "loginUrl": "<sfdcLoginUrl>",
        "user": "<sfdcServiceUser>",
        "password": "<sfdcServicePassword>"
    },
    "reltio": {
        "tenantUrl": "<tenanApiUrl | https://env.reltio.com/reltio/api/tenantId/",
        "authUrl": "<authUrl | https://auth-stg.reltio.com/oauth/token>",
        "skipUnchangedAttributes": true,
        "workflowUrl": "<workflowUrl | https://tst-01-workflow.reltio.com/workflow-adapter/workflow/tenantId, not required>",
        "username": "<reltiServiceUser - not required>", //
        "password": "<reltiService - not required>",
        "maxObjectsToUpdateZero":<true|false - true is default, not required>,
        "mergeCheck": <true|false - false is default, not required>,
        "authToken": "<cmVsdGlvX3VpOm1ha2l0YQ== not required>",
        "batchSize": <50 by default, not required>,
        "maxapicall": <300 by default, not required>,
    }
}

Response

  • Success: HTTP 200
    {profileName} has been updated
  • Error: HTTP 400
    {
      "error": {
        "reason": "<error description>"
      }
    }