Loading

DFS Contact Relationship Services API (latest)

Download OpenAPI specification:Download

Contains functionality around contact relationship.

For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.

ContactAccessManagement

Remove association of one or more participants from the specified contact

Removes association of one or more participants from the specified contact. When data segregation is enabled, applications of any of the specified participants may no longer access the specified contact. Note that any existing member association is not automatically revoked and required to be handled separately.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

participantUids
Array of strings <uuid> Nullable

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

delete/v1.0/contacts/{contactId}/participant-access
https://example-host/v1.0/contacts/{contactId}/participant-access

Request samples

Content type
Copy
Expand all Collapse all
{
  • "participantUids":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Associate one or more participants to the specified contact

Associates one or more participants to the specified contact. When data segregation is enabled:

  • Applications of a specific participant may only access contacts associated with their participant.
  • Members of a specific participant may only be directly assigned to contacts associated with their participant.
Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

participantUIds
Array of strings <uuid> Nullable

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/contacts/{contactId}/participant-access
https://example-host/v1.0/contacts/{contactId}/participant-access

Request samples

Content type
Copy
Expand all Collapse all
{
  • "participantUIds":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Return the profiles of the contact's advisors

The endpoint returns the profile(s) of the advisor(s) of the contact.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact Id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contacts/{contactId}/member-profiles
https://example-host/v1.0/contacts/{contactId}/member-profiles

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "advisors":
    [
    ]
}

Return the profile picture of a contact's advisor

Returns the stored profile picture of the specified advisor of the contact

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact Id

memberId
required
integer <int32>

Member Id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contacts/{contactId}/member/{memberId}/profile-picture
https://example-host/v1.0/contacts/{contactId}/member/{memberId}/profile-picture

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "imageContentBase64": "iVBORw0KGgoAAAANSUhEUgAAALgAAAA8CAYAAADVEnAJAAAOvklEQVR42u1dCZBcRRluyM4Sbg9QuUTFYAhy7Zs3G2Nw5r2ZTWKMWBCXQ5QzIncEFIqjGGtnZpdwaEUOIYcFlBwVRBA5wh7hUIIQCFgkJCAWBUWSnZ3N9d7MXgk7/p/sZje72/3umR2rv6quDOyb1zXd3/v77+///37MD0STxapYY6FWT+ev0zP5h7W0sTqWyWdjGaNA/13UU0Yf/ZvT08bbWjr/GH2+Qc8YJyv3FUNMQmK8Qk8XIrGM+Qc9ld8CIjttn33PvC/elD+JSUiMFxAp64igL4GkvrW08TytADVMouIQfnRucazGKg11qe6v62nzryBkIC1l9NO/d0eT2f2YhCR4ia32T2MpMw8iBt20TP79eIN5HJOQBA8a9cuKE8h1uAfEK3EzY+n8TCYhCR4QoI5MJMv9pF1SxlLGTrLyK+nzQvreZfGUeYbWWDhFy5inU7uCFJS7Ymnjdbgidu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SJQD5HfHrGIOJOHeEc0Yk6GPD88apXjGVBzwJA7xG6vkO1Ilyv2mvFvtvqaE/l1DhH8f7oidIFC8saAyCYlyAtaYk97ssZnzmYRESSE+sOdhHwl+M5OQGG+vZYfVJVmvy0Py2xa8SpBJSJQb4vMFzaXIBXJAbAMvh0Wwh0lIVAJAVgr4zBtwXdbgRVWovUTgBrIgop44Ag7pynW39e/LJCQkKgP/BTwUobIIDirVAAAAAElFTkSuQmCC",
  • "isDefaultImage": false
}

Assign a member to a contact

Assigns a member to a contact. The assigned member and all members with hierarchy access to that member would have access to all contact information.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

memberIds
Array of integers <int32> Nullable

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/contacts/{contactId}/members
https://example-host/v1.0/contacts/{contactId}/members

Request samples

Content type
Copy
Expand all Collapse all
{
  • "memberIds":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Manage member assignment to a contact

Manages member assignment to a contact. The assigned members and all members with hierarchy access to them would have access to all contact information.

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

memberIds
Array of integers <int32> Nullable

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

put/v1.0/contacts/{contactId}/members
https://example-host/v1.0/contacts/{contactId}/members

Request samples

Content type
Copy
Expand all Collapse all
{
  • "memberIds":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Search for members assigned to the specified contacts

Searches for members assigned to the specified contacts. The assigned members and all members with hierarchy access to them have access to all contact information.

Authorizations:
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

contactUids
Array of strings <uuid> Nullable

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/contacts/member-access/search
https://example-host/v1.0/contacts/member-access/search

Request samples

Content type
Copy
Expand all Collapse all
{
  • "contactUids":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "memberAccess":
    [
    ]
}

ContactGroupAccess

Validate whether a contact has access to a contact group related entity (e.g. Legal entities, Accounts)

Validates whether a contact has access to a contact group related entity (e.g. Legal entities, Accounts)

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

entityId
required
integer <int32>

Entity id

entityType
required
string (EntityTypeLinkedWithContactGroupKey)
Enum: "Account" "LegalEntity" "Portfolio" "PortfolioProposal"

Entity type

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contact-groups/contacts/{contactId}/{entityType}/{entityId}/access
https://example-host/v1.0/contact-groups/contacts/{contactId}/{entityType}/{entityId}/access

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "hasAccess": true
}

Validate whether a member has access to a contact group related entity (e.g. Legal entities, Accounts)

Validates whether a member has access to a contact group related entity (e.g. Legal entities, Accounts)

Authorizations:
path Parameters
identityId
required
string <uuid>

Identity id

entityId
required
integer <int32>

Entity id

entityType
required
string (EntityTypeLinkedWithContactGroupKey)
Enum: "Account" "LegalEntity" "Portfolio" "PortfolioProposal"

Entity type

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contact-groups/identities/{identityId}/{entityType}/{entityId}/access
https://example-host/v1.0/contact-groups/identities/{identityId}/{entityType}/{entityId}/access

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "hasAccess": false
}

Validate whether a contact has access to a contact group

Validates whether a contact has access to a contact group

Authorizations:
path Parameters
contactId
required
integer <int32>

Contact id

contactGroupId
required
integer <int32>

Contact group id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contact-groups/{contactGroupId}/contacts/{contactId}/access
https://example-host/v1.0/contact-groups/{contactGroupId}/contacts/{contactId}/access

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "hasAccess": true
}

Validate whether a member has access to a contact group

Validates whether a member has access to a contact group

Authorizations:
path Parameters
identityId
required
string <uuid>

Identity id

contactGroupId
required
integer <int32>

Contact group id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contact-groups/{contactGroupId}/identities/{identityId}/access
https://example-host/v1.0/contact-groups/{contactGroupId}/identities/{identityId}/access

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "hasAccess": true
}

ContactGroupManagement

Delete a contact group

Deletes a contact group. The caller may delete a group only if they have access to all contacts in the group.

Authorizations:
path Parameters
contactGroupId
required
integer <int32>

The ID of the contact group

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

delete/v1.0/contactgroups/{contactGroupId}
https://example-host/v1.0/contactgroups/{contactGroupId}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Retrieve details of a contact group

Retrieves details of a contact group. The caller may retrieve details of a group if they have access to at least one contact in the group.

Authorizations:
path Parameters
contactGroupId
required
integer <int32>

The ID of the contact group

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.0/contactgroups/{contactGroupId}
https://example-host/v1.0/contactgroups/{contactGroupId}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "groupId": 0,
  • "groupName": "string",
  • "groupExternalId": "string",
  • "customAttributes": "string",
  • "contacts":
    [
    ]
}

Modify a contact group

Modifies a contact group. The caller may modify a group only if they have access to all contacts in the group.

Authorizations:
path Parameters
contactGroupId
required
integer <int32>

The ID of the contact group

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO.

groupName
string Nullable
groupExternalId
string Nullable
customAttributes
string Nullable
contacts
Array of objects (Api.ContactGroupManagement.ModifyContactGroup.Contact) Nullable

Responses

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

put/v1.0/contactgroups/{contactGroupId}
https://example-host/v1.0/contactgroups/{contactGroupId}

Request samples

Content type
Copy
Expand all Collapse all
{
  • "groupName": "string",
  • "groupExternalId": "string",
  • "customAttributes": "string",
  • "contacts":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "code": "General",
  • "subCode": "string",
  • "message": "string",
  • "correlationId": "string",
  • "properties":
    {
    }
}

Retrieve details of all contact groups of a contact

Retrieves details of all contact groups of a contact (even if the caller does not have access to some of the contacts in these groups).

Authorizations:
path Parameters
contactId
required
integer <int32>

The ID of the contact

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v2.0/contacts/{contactId}/contactgroups
https://example-host/v2.0/contacts/{contactId}/contactgroups

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "groups":
    [
    ]
}

Create a new contact group

Creates a new contact group.

Authorizations:
path Parameters
contactId
required
integer <int32>

The ID of the contact

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO.

groupName
string Nullable
groupExternalId
string Nullable
customAttributes
string Nullable
contacts
Array of objects (Api.ContactGroupManagement.CreateContactGroup.Contact) Nullable

Responses

201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v2.0/contacts/{contactId}/contactgroups
https://example-host/v2.0/contacts/{contactId}/contactgroups

Request samples

Content type
Copy
Expand all Collapse all
{
  • "groupName": "string",
  • "groupExternalId": "string",
  • "customAttributes": "string",
  • "contacts":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0
}

Search contact groups

Searches contact groups given criteria.

Authorizations:
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO.

contactIds
Array of integers <int32> Nullable
contactGroupIds
Array of integers <int32> Nullable
name
string Nullable
externalIds
Array of strings Nullable

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

post/v1.0/contact-groups/search
https://example-host/v1.0/contact-groups/search

Request samples

Content type
Copy
Expand all Collapse all
{
  • "contactIds":
    [
    ],
  • "contactGroupIds":
    [
    ],
  • "name": "string",
  • "externalIds":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "results":
    [
    ]
}

ContactRelativeManagement

Retrieve all relatives of a contact

Retrieves all relatives of a contact.

Authorizations:
path Parameters
contactId
required
integer <int32>

The contactId of the contact

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

422

UnprocessableEntity

500

Internal Server Error

get/v1.1/contacts/{contactId}/relatives
https://example-host/v1.1/contacts/{contactId}/relatives

Response samples

Content type
application/json
Copy
Expand all Collapse all
[
  • {
    },
  • {
    }
]