Tenant Profile Configuration - Get all accessible profiles for a tenant
You can get all accessible profiles for the tenant defined in the Salesforce connector.
This operation returns a JSON object with all tenant profiles, profile names (object
field names), and field value (profile in JSON). While returning tenant profile, the
ReltioSQS
field is removed from the profile and this field is not
returned.
Request
Operation Endpoint:
GET {Salesforce connector URL}\configuration\{tenantId}
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 |
Response
Success: 200
{ "<profileName>":{
"salesforce": {
"loginUrl": "<sfdcLoginUrl>",
"user": "<sfdcServiceUser>",
"password": "<sfdcServicePassword>"
"pollTime": <300 by default, not required>,
"useBulkFrom": <Number of objects to post to Salesforce in a single request needed to use Bulk API. 0 means always use Bulk API>
},
"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>,
}
},
"<profileName>":{
"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>,
}
}}
Error: 400 Bad Request, { error: {reason}}
Example
Sample Response JSON:
{"MyProfile1":{
"reltio": {
"authUrl": "https://auth.reltio.com/oauth/token",
"tenantUrl": "https://test.reltio.com/reltio/api/myTenantId/",
"authToken": "cmVsdGlvX3VpOm1ha2l0YQ=="
},
"salesforce": {
"password": "Mypassword",
"user": "MyUser",
"loginUrl": "https://login.salesforce.com"
}
}}