This API provides services for executing Business Partner Duplicate Matching process.
Data Matching API (3)
https://api.cdq.com/data-matching/rest/
Request
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"
}]
}
XLSX or CSV file to be uploaded (SOAP currently only supports CSV).
- Production
https://api.cdq.com/data-matching/rest/matchingdecisionjobs
curl -i -X POST \
https://api.cdq.com/data-matching/rest/matchingdecisionjobs \
-H 'Content-Type: multipart/form-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-F file=file.xlsx \
-F decisionLogId=5e60dfdbd5fa2d000166ab4a
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "domain": "https://cdq.com", "createdBy": "76248934691294444", "createdAt": "2025-08-15T11:08:26Z", "modifiedAt": "2025-08-15T11:08:26Z", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "decisionLogId": "65dcb1d68f01e37c2cf9bbb2", "result": { "statistics": { … } } }
- Production
https://api.cdq.com/data-matching/rest/matchingdecisionjobs/{id}
curl -i -X GET \
https://api.cdq.com/data-matching/rest/matchingdecisionjobs/65dcc3c60cecd503bcc88c92 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "domain": "https://cdq.com", "createdBy": "76248934691294444", "createdAt": "2025-08-15T11:08:26Z", "modifiedAt": "2025-08-15T11:08:26Z", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "decisionLogId": "65dcb1d68f01e37c2cf9bbb2", "result": { "statistics": { … } } }
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks
curl -i -X GET \
https://api.cdq.com/data-matching/rest/userfeedbacks \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "startAfter": "5712566172571652", "limit": "100", "values": [ { … } ], "nextStartAfter": "5712566172571652" }
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks
curl -i -X POST \
https://api.cdq.com/data-matching/rest/userfeedbacks \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"name": "decisionLogOne"
}'
{ "id": "65dcc3c60cecd503bcc88c92", "createdAt": "2025-08-15T11:08:26Z", "name": "decisionLogOne", "organization": "12345678-1234-5678-1234-567812345678" }
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks/{id}
curl -i -X GET \
https://api.cdq.com/data-matching/rest/userfeedbacks/9cfa14e7-51f5-4490-88e4-667501575b41 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "matchingDecisionLog": { "id": "65dcc3c60cecd503bcc88c92", "createdAt": "2025-08-15T11:08:26Z", "name": "decisionLogOne", "organization": "12345678-1234-5678-1234-567812345678" }, "status": "OK", "message": "Decision log has been fetched successfully" }
List of identity links to be created.
List of identity link entries.
Unique identifier of the Storage.
Unique identifier for a Data Source of the Storage.
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks/{id}
curl -i -X POST \
https://api.cdq.com/data-matching/rest/userfeedbacks/9cfa14e7-51f5-4490-88e4-667501575b41 \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"links": [
{
"entries": [
{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"dataSourceId": "648824a691d8d2503d65103e",
"businessPartnerId": "63e635235c06b7396330fe40"
},
{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"dataSourceId": "648824a691d8d2503d65103e",
"businessPartnerId": "63e635235c06b7396330fe40"
}
]
}
]
}'
{ "values": [ { … } ] }
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks/{id}
curl -i -X DELETE \
https://api.cdq.com/data-matching/rest/userfeedbacks/9cfa14e7-51f5-4490-88e4-667501575b41 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks/{id}/clear
curl -i -X POST \
https://api.cdq.com/data-matching/rest/userfeedbacks/9cfa14e7-51f5-4490-88e4-667501575b41/clear \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
- Production
https://api.cdq.com/data-matching/rest/userfeedbacks/identitylinks
curl -i -X GET \
'https://api.cdq.com/data-matching/rest/userfeedbacks/identitylinks?linkStorageId=72d6900fce6b326088f5d9d91049e3e6' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "startAfter": "5712566172571652", "limit": "100", "values": [ { … } ], "nextStartAfter": "5712566172571652" }