Accelerate the Value of 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.
BodyNo

Example - Request

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

Response

{
    "success": "OK",
    "message": "Family tree successful",
    "entities": [entities/sbrWEPB, entities/sbrWIfR, entities/1QvQsDUm]
}