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": "2025-03-14T11:41:22Z",
- "modifiedAt": "2025-03-14T11:41:22Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "decisionLogId": "65dcb1d68f01e37c2cf9bbb2",
- "result": {
- "statistics": {
- "numberOfInserts": "100",
- "numberOfFailed": "0"
}
}
}