Skip to content

Update Batch Of Business AML Search Hits

Request

Updates a batch of business AML search hits.

A hit id that isn't on the search is listed in failed with Search Hit Not Found, and the other hits are still updated. An item without hitId or decision, or with a hitId that isn't a UUID, rejects the whole request with 400.

Security
bearerToken
Path
searchIdstring, (uuid)required

Id of the search

Example:f135b26d-ba07-4406-a9f2-77775d050ea2
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 business search hits to update.

itemsArray of objectsrequired

The hits to update.

curl -i -X PUT \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/searches/businesses/f135b26d-ba07-4406-a9f2-77775d050ea2/hits \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Team-Id: 6b78aed4-9ba6-441b-80b9-df9bea3b7c97' \
  -d '{
    "items": [
      {
        "hitId": "a207aee4-3643-4e61-b1b3-5280a08456ac",
        "decision": "falsePositive",
        "note": "Reviewed: not a match"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
failedArray of objects or null

The hits that couldn't be updated, each with the reason.

successfulArray of objects or null

The hits that were updated.

correlationIdstring

A unique ID assigned to this request.

Response
{ "successful": [ { … } ], "failed": [ { … } ], "correlationId": "d395849b-65e0-44cf-808f-b4971fc5f8b6" }