Add Identity Links to the Matching Decision Log identified by ID.
OK
Unauthorized
Forbidden
{- "links": [
- {
- "entries": [
- {
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "businessPartnerId": "63e635235c06b7396330fe40"
}, - {
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "businessPartnerId": "63e635235c06b7396330fe40"
}
]
}
]
}
{- "values": [
- {
- "status": "OK",
- "message": "Identity link has been created successfully"
}
]
}
Create Matching Decision Log where decisions will be stored.
OK
Unauthorized
Forbidden
{- "name": "decisionLogOne"
}
{- "id": "65dcc3c60cecd503bcc88c92",
- "createdAt": "2024-10-07T09:48:23Z",
- "name": "decisionLogOne",
- "organization": "12345678-1234-5678-1234-567812345678"
}
Delete the Matching Decision Log identified by ID. !Warning! action cannot be reverted!
OK
The sent request is malformed.
Permission denied.
{- "status": "400",
- "path": "/v2/businesspartners/lookup",
- "timestamp": "2024-10-07T09:48:23Z",
- "error": "BAD_REQUEST",
- "message": "This user is not allowed to access this service."
}
Polls the status of the matching decision import job.
OK
Unauthorized
Forbidden
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "createdBy": "76248934691294444",
- "createdAt": "2024-10-07T09:48:23Z",
- "modifiedAt": "2024-10-07T09:48:23Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "decisionLogId": "65dcb1d68f01e37c2cf9bbb2",
- "result": {
- "statistics": {
- "numberOfInserts": "100",
- "numberOfFailed": "0"
}
}
}
Read Identity Links from the Matching Decision Log identified by ID.
OK
Created
Unauthorized
Forbidden
Not Found
{- "startAfter": "5712566172571652",
- "limit": "100",
- "values": [
- {
- "id": "654477e4b930b62e0ceb4950",
- "linkStorageId": "96f89e48aa7b331c82fb30c02d0f7154",
- "createdAt": "2024-10-07T09:48:23Z",
- "createdBy": "76248934691294444",
- "linkStatus": "INFERRED",
- "linkKind": "SAME",
- "entityA": {
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "businessPartnerId": "63e635235c06b7396330fe40"
}, - "entityB": {
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "businessPartnerId": "63e635235c06b7396330fe40"
}
}
], - "nextStartAfter": "5712566172571652"
}
Read Matching Decision Logs details provided by ID.
OK
Created
Unauthorized
Forbidden
Not Found
{- "matchingDecisionLog": {
- "id": "65dcc3c60cecd503bcc88c92",
- "createdAt": "2024-10-07T09:48:23Z",
- "name": "decisionLogOne",
- "organization": "12345678-1234-5678-1234-567812345678"
}, - "status": "OK",
- "message": "Decision log has been fetched successfully"
}
Read available Matching Decision Logs across your organization.
OK
Created
Unauthorized
Forbidden
Not Found
{- "startAfter": "5712566172571652",
- "limit": "100",
- "values": [
- {
- "id": "65dcc3c60cecd503bcc88c92",
- "createdAt": "2024-10-07T09:48:23Z",
- "name": "decisionLogOne",
- "organization": "12345678-1234-5678-1234-567812345678"
}
], - "nextStartAfter": "5712566172571652"
}
To start importing an Identity Linkage Decision import file, use the following request.
POST https://api.corporate-data-league.ch/data-matching/rest/jobs/matchingdecisionjobs
?file=@{YOUR FILE}
?decisionLogId={YOUR MatchingDecisionLog ID}
With using output file from duplication or linkage job. Please remember not to remove the mandatory columns when modifying this file: No Match Feedback, Matching Group, Storage ID, Data Source ID, Record ID.
The response is shown below. Use the returned id
to poll the import job status.
{
"id" : "{YOUR JOB ID}"
...
}
This import leads to the following link in the MatchingDecisionLog.
{
"id" : "{AUTO GENERATED}",
"decisionLogId" : "b7d528eace273a10aeb00825f48b5b18",
"entities" : [{
"storageId": "b7d528eace273a10aeb00825f48b5b18",
"dataSourceId": "5f9fc1b97e1e490001fcfc9e",
"businessPartnerId": "5e60dfdbd5fa2d000166ab4a"
},
{
"storageId": "b7d528eace273a10aeb00825f48b5b18",
"dataSourceId": "5f9fc1b97e1e490001fcfc9e",
"businessPartnerId": "5e60dfdbd5fa2d000166ab4b"
}]
}
OK
The sent request is malformed.
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "createdBy": "76248934691294444",
- "createdAt": "2024-10-07T09:48:23Z",
- "modifiedAt": "2024-10-07T09:48:23Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "decisionLogId": "65dcb1d68f01e37c2cf9bbb2",
- "result": {
- "statistics": {
- "numberOfInserts": "100",
- "numberOfFailed": "0"
}
}
}