Register a tenant in a profile
Learn how to register a tenant in a profile for D&B connector
This operation registers a tenant in a profile. The request creates new records in tenants table or updates existing ones. When a tenant already exists it will be updated with the new reference to a profile. To execute this operation you have tot be assigned the UPDATE privilege.
Request
POST {DnBConnectorUri}/config/profiles/{profileName}/tenants
Parameter Name | Required | Description | |
---|---|---|---|
Headers | Content-Type
| Yes | Should be "Content-Type: application/json ". |
Authorization
| Yes | Information about authentication access token in format "Bearer <YourTokenId> " (see details in Authentication API). | |
environmentUrl
| Yes | Environment of customer and data tenant. | |
tenantId
| Yes | Customer tenant id | |
tenantDt
| No | Data tenant. Can be skipped if real time D&B connector features are not required. |
Request
Response
{
"success": "OK",
"tenant": {
"environmentUrl": "https://tst-01.reltio.com",
"tenantId": "ACC360CT"
},
"dataTenant": {
"environmentUrl": "https://tst-01.reltio.com",
"tenantId": "ACC360DT"
},
"profile": "testprofile"
}