Skip to content

Add AML Searches To The Given Profile

Request

Adds a list of searches to a profile.

The request returns 200 even when some searches can't be linked. Each search that can't be linked is returned in failed, with the reason in error.details. For example, an individual search can't be added to a company profile, and a search that has been deleted is returned as not found.

Security
bearerToken
Path
profileIdstring, (uuid)required

id of the profile

Example:8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31
Headers
X-Team-Idstring, (uuid)

Optional. The team to work in, using a team id from List Teams. If left out, the default team is used. Records created in a team can only be seen by sending that team's id. A team id that doesn't exist, or a team being deleted, is rejected with 404 Team Not Found.

Example:6b78aed4-9ba6-441b-80b9-df9bea3b7c97
Bodyapplication/json

The ids of the searches to link to the profile.

searchIdsArray of strings, (uuid)

List of searches to link to a profile

curl -i -X POST \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/profiles/8cb4d8a3-d277-4205-9d6c-f3f3a8b65f31/searches/link \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "searchIds": [
      "0ceca33f-fd93-440f-ad50-7c7cc51a5f93"
    ]
  }'

Responses

Success

Bodyapplication/json
successfulArray of strings or null, (uuid)

The search ids that were linked.

failedArray of objects or null

The searches that couldn't be linked, each with the reason.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ "0ceca33f-fd93-440f-ad50-7c7cc51a5f93" ], "failed": [], "correlationId": "770462a3-967f-4704-97c9-37185888abc2" }