Unify and manage your data

Survivorship groups for entity types

Learn more about how to retrieve and create survivorship groups for an entity type using the Configuration API.

Use the Configuration to retrieve survivorship groups for an entity type, retrieve a specific survivorship group, and create a new survivorship group. By default, GET responses include inherited configuration. To exclude inherited configuration, set the inheritance query parameter to false.

HTTP methods and endpoints

Use one of the following HTTP methods and endpoint paths to submit the request:

GET retrieves all survivorship groups for the specified entity type or retrieves a specific survivorship group definition.

GET {TenantURL}/configuration/entityTypes/{entityTypeName}/survivorshipGroups?inheritance=true|false
GET {TenantURL}/configuration/entityTypes/{entityTypeName}/survivorshipGroups/{groupUri}?inheritance=true|false

POST creates a new survivorship group definition for the specified entity type.

POST {TenantURL}/configuration/entityTypes/{entityTypeName}/survivorshipGroups/{groupUri}

PUT updates the specified survivorship group definition for the entity type.

PUT {TenantURL}/configuration/entityTypes/{entityTypeName}/survivorshipGroups/{groupUri}

DELETE deletes the specified survivorship group definition for the entity type.

DELETE {TenantURL}/configuration/entityTypes/{entityTypeName}/survivorshipGroups/{groupUri}

The following table describes the endpoint path parameters.

NameRequiredDescription
TenantURLYesThe base URL of your tenant.
entityTypeNameYesThe name of the entity type whose survivorshipGroups sub-resource you want to retrieve or update.
groupUriYes, for group-specific GET and POSTThe URI of the survivorship group to retrieve or create.

Request headers

Include the following headers in the request.

NameRequiredDescription
AuthorizationYesAccess token used to authenticate the tenant request.
Content-TypeYes, for POST and PUTapplication/json

Query parameters

The following table describes the query parameters.

NameRequiredDescription
inheritanceNo, for GETDetermines whether inherited configuration from base types is included in the response. Accepted values are true and false. Default: true.

Example requests

The following example retrieves all survivorshipGroups for the Individual entity type and includes inherited configuration.

GET {TenantURL}/configuration/entityTypes/Individual/survivorshipGroups?inheritance=true
Authorization: <access_token>

The following example retrieves the PrimaryNameGroup survivorship group for the Individual entity type.

GET {TenantURL}/configuration/entityTypes/Individual/survivorshipGroups/PrimaryNameGroup?inheritance=true
Authorization: <access_token>

The following example creates the PrimaryNameGroup survivorship group for the Individual entity type.

POST {TenantURL}/configuration/entityTypes/Individual/survivorshipGroups/PrimaryNameGroup
Authorization: <access_token>
Content-Type: application/json

<new survivorship group definition>

The following example updates the PrimaryNameGroup survivorship group for the Individual entity type.

PUT {TenantURL}/configuration/entityTypes/Individual/survivorshipGroups/PrimaryNameGroup
Authorization: <access_token>
Content-Type: application/json

<updated survivorship group definition>

The following example deletes the PrimaryNameGroup survivorship group for the Individual entity type.

DELETE {TenantURL}/configuration/entityTypes/Individual/survivorshipGroups/PrimaryNameGroup
Authorization: <access_token>

Example responses

The following examples show the response pattern for successful and error outcomes.

Successful GET response

HTTP/1.1 200 OK
Content-Type: application/json

<survivorship group definition or list of survivorship groups>

Successful POST response

HTTP/1.1 201 Created
Content-Type: application/json

<created survivorship group definition>

Successful PUT response

HTTP/1.1 202 Accepted
Content-Type: application/json

<updated survivorship group definition>

Successful DELETE response

HTTP/1.1 200 OK
Content-Type: application/json

<deleted survivorship group response>

Error response

HTTP/1.1 400 Bad Request
Content-Type: application/json

<TYPE_IS_NOT_FOUND or BAD_REQUEST>