Unify and manage your data

Set Salesforce Connector Profile Configurations

Sets 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
Headers Authorization Yes Access Token in format "Bearer <accessToken>" (see details in Authentication API)
Content-Type Yes Must be "Content-Type: application/json"
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
{
    "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>",
        "workflowUrl": "<workflowUrl | https://tst-01-workflow.reltio.com/workflow-adapter/workflow/tenantId, not reqired>",
        "username": "<reltiServiceUser - not reqired>", //
        "password": "<reltiService - not reqired>",
        "maxObjectsToUpdateZero":<true|false - true is default, not reqired>,
        "mergeCheck": <true|false - false is default, not reqired>,
        "authToken": "<cmVsdGlvX3VpOm1ha2l0YQ== not reqired>",
        "batchSize": <50 by default, not reqired>,
        "maxapicall": <300 by default, not reqired>,
    }
}

Response

Success: 200 status: {profileName} has been updated}
Error:   400 Bad Request, { error: {reason}}