Deletes decisions of a given type. Deletes all if type not provided.
OK
Bad Request
{- "type": {
- "technicalKey": "CURATIONS"
}, - "dataSources": [
- {
- "id": "648824a691d8d2503d65103e"
}
]
}
{- "numberOfDeleted": 0
}
Deletes decisions of a given ids.
OK
Bad Request
{- "decisions": [
- {
- "id": "string",
- "businessPartnerId": "string"
}
]
}
{- "numberOfDeleted": 0
}
Poll curation decision import job.
OK
Bad Request
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "createdAt": "2020-08-31T16:47+00:00",
- "user": "742429-234242-4343-232323",
- "progress": "The job failed because storage is empty.",
- "attachments": [
- {
- "url": "customer-upload/user/file.xlsx",
- "tags": [
- "Reporting"
]
}
]
}
Read decisions from given storage.
businessPartnerIds | Array of strings (DecisionLogBusinessPartnerId) <= 500 items Only show decisions for listed business partner IDs. |
limit | integer <int32> >= 1 Default: 500 Number of items to be returned on the page. |
startAfter | string Start after the provided pagination ID. Leave empty for the first query. The response will contain a property nextStartAfter which need to be used for any subsequent queries until nextStartAfter is empty. See CDQ - Developer Guidelines. |
type | string (DecisionLogTypeTechnicalKeyParam) Enum: "CURATIONS" "NATURAL_PERSONS" "DUPLICATES" |
OK
Bad Request
{- "values": [
- {
- "id": "string",
- "type": {
- "technicalKey": "CURATIONS"
}, - "businessPartnerId": "string",
- "dataSourceId": "648824a691d8d2503d65103e",
- "externalId": "The ID managed in the customer's SAP systems.",
- "lastUpdatedAt": "string",
- "lastUpdatedBy": "string",
- "updateDecisions": [
- {
- "context": {
- "createdBy": "string",
- "createdAt": "string",
- "scope": {
- "dataSourceIds": [
- null
], - "countryShortNames": [
- null
], - "curationSimilarity": 0
}
}, - "proposal": {
- "externalIds": [
- {
- "externalId": null,
- "dataSourceId": null,
- "id": null,
- "concept": null,
- "language": null,
- "characterSet": null,
- "type": null
}
], - "property": {
- "parentConcept": {
- "name": null,
- "technicalKey": null
}, - "name": "Minority Indicator Value",
- "technicalKey": "MINORITY_INDICATOR_VALUE",
- "contentSelector": "string",
- "instanceSelectors": [
- null
]
}, - "newContent": "AAB",
- "previousContent": "AAB",
- "provenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429",
- "subscribers": 7,
- "subscribed": true,
- "lastUpdatedAt": "20230111",
- "lastSyncAt": "20230113"
}, - "changeType": "MODIFIED",
- "changeClassification": "MAJOR",
- "confidenceScore": "0.0",
- "maxConfidenceScore": "1.0",
- "matchingScores": {
- "overall": 0,
- "businessPartner": 0,
- "address": 0
}
}, - "status": "ACCEPTED",
- "reliability": "UNKNOWN"
}
], - "validationDecisions": [
- {
- "context": {
- "createdBy": "string",
- "createdAt": "string"
}, - "dataDefect": {
- "businessRule": {
}, - "properties": [
- {
- "parentConcept": null,
- "content": null,
- "url": null,
- "instanceSelectors": [ ]
}
]
}, - "status": "ACCEPTED"
}
]
}
], - "limit": "100",
- "startAfter": "5712566172571652",
- "nextStartAfter": "5712566172571652",
- "total": "67"
}
Starts curation decision import job
OK
Bad Request
{- "storageId": "string",
- "dataSourceId": "string",
- "onlyNotReviewed": false,
- "scope": {
- "accepted": {
- "identifiers": [
- {
- "technicalKey": "string",
- "changeTypes": [
- "string"
], - "countryShortNames": [
- "string"
], - "thresholds": {
- "businessPartnerRequestSimilarity": 0,
- "addressRequestSimilarity": 0,
- "businessPartnerMatchingScore": 0,
- "addressMatchingScore": 0
}
}
]
}, - "rejected": {
- "identifiers": [
- {
- "technicalKey": "string",
- "changeTypes": [
- "string"
], - "countryShortNames": [
- "string"
], - "thresholds": {
- "businessPartnerRequestSimilarity": 0,
- "addressRequestSimilarity": 0,
- "businessPartnerMatchingScore": 0,
- "addressMatchingScore": 0
}
}
]
}
}
}
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "createdAt": "2020-08-31T16:47+00:00",
- "user": "742429-234242-4343-232323",
- "progress": "The job failed because storage is empty.",
- "attachments": [
- {
- "url": "customer-upload/user/file.xlsx",
- "tags": [
- "Reporting"
]
}
]
}
Upsert decisions for given storage. Decisions are distinguished by business partner id and type. Already existing decision will be replaced.
OK
Bad Request
{- "decisions": [
- {
- "type": {
- "technicalKey": "CURATIONS"
}, - "businessPartnerId": "string",
- "dataSourceId": "648824a691d8d2503d65103e",
- "externalId": "string",
- "updateDecisions": [
- {
- "context": {
- "createdBy": "string",
- "createdAt": "string",
- "scope": {
- "dataSourceIds": [
- null
], - "countryShortNames": [
- null
], - "curationSimilarity": 0
}
}, - "proposal": {
- "externalIds": [
- {
- "externalId": null,
- "dataSourceId": null,
- "id": null,
- "concept": null,
- "language": null,
- "characterSet": null,
- "type": null
}
], - "property": {
- "parentConcept": {
- "name": null,
- "technicalKey": null
}, - "name": "Minority Indicator Value",
- "technicalKey": "MINORITY_INDICATOR_VALUE",
- "contentSelector": "string",
- "instanceSelectors": [
- null
]
}, - "newContent": "AAB",
- "previousContent": "AAB",
- "provenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429",
- "subscribers": 7,
- "subscribed": true,
- "lastUpdatedAt": "20230111",
- "lastSyncAt": "20230113"
}, - "changeType": "MODIFIED",
- "changeClassification": "MAJOR",
- "confidenceScore": "0.0",
- "maxConfidenceScore": "1.0",
- "matchingScores": {
- "overall": 0,
- "businessPartner": 0,
- "address": 0
}
}, - "status": "ACCEPTED",
- "reliability": "UNKNOWN"
}
], - "validationDecisions": [
- {
- "context": {
- "createdBy": "string",
- "createdAt": "string"
}, - "dataDefect": {
- "businessRule": {
}, - "properties": [
- {
- "parentConcept": null,
- "content": null,
- "url": null,
- "instanceSelectors": [ ]
}
]
}, - "status": "ACCEPTED"
}
]
}
]
}
{- "numberOfProvidedDecisions": 0,
- "numberOfInserts": 0,
- "numberOfUpdates": 0
}