Unify and manage your data

Get Upward Account Hierarchy

Learn about the operation to get the full hierarchy of parent organizations for a specified account using the D&B connector.

Use the Get Upward Family tree operation to request all parent organizations — all organizations from the current organization to its global ultimate — for a current organization.

The API takes the entity URI of the organization as the input, and passes the DUNS number of the organization for which all the parent organizations are requested.

For more information, see Hierarchies and Relationships.

Request

POST {DnBConnectorUri}/getFamilyTree
Table 1. Parameters
ParameterNameRequiredDetails
HeadersContent-TypeYesMust be Content-Type: application/json.
EnvironmentUrlYesThe environment url of the tenant.

Example: https://dev.reltio.com

TenantIdYesTenant ID
AuthorizationYes

Reltio access token in the form Bearer: <<token>>, see Authentication API.

DnB-UserNoD&B account username or Consumer Key in Direct+.
Note: Not required if you provide the D&B token.
DnB-PasswordNoD&B account password or Consumer Secret in Direct+.
Note: Not required if you provide the D&B token.
DnB-TokenNo

D&B token in the form Bearer: <<token>>

Note: Not required if you provide the username and password.
QueryentityURIYesEntity URI's in the form entities/XXXX
plusNotrue or false. The default value is false. If set to true, the Direct+ based Get family tree call is started.
Note: You must have a token or an account with the privileges for Direct+ API usage. Otherwise, an authentication error is raised.
disableNestedPartialOverrideNoEnable or disable the use of disableNestedPartialOverride option when writing to tenant. This defaults to true.
updateAttributeUpdateDatesNoEnable or disable the use of updateAttributeUpdateDates option for writing to customer tenant. This defaults to false. When set to true, the connector updates the singleAttributeUpdateDate for each attribute whose value has changed. For more information about the singleAttributeUpdateDate parameter, see Retrieve or modify an entity crosswalk updateDate.
partialOverrideNoEnable or disable the use of the partialOverride option for writing to customer tenant. This defaults to true. For more information, see Partial overrides.
BodyNo

Example - Request

POST https://dev-dnbconnector.reltio.com/b2bIntegration/dnb/getFamilyTree?entityURI=entities/1QvQsDUm

Response

d1212857-07f0-44c8-bce0-f77266ce56cc:ct-ins:mahalakshmi.krishnakumar@reltio.com:1755702932935{    "success": "OK",
    "message": "Family tree successful",
    "entities": [entities/sbrWEPB, entities/sbrWIfR, entities/1QvQsDUm]
}