Provides services for managing decisions for Business Partners. Decisions are stored in a Decision Log and can be retrieved, upserted, cleared or deleted.
Deletes decisions of a given type. Delete all if type not provided.
Array of objects (DecisionClearDataSourceParam) List of Data Source IDs to be cleared. | |
object (DecisionLogType) Type of decision log entry. |
OK
Bad Request
{- "type": {
- "technicalKey": "CURATIONS"
}, - "dataSources": [
- {
- "id": "648824a691d8d2503d65103e"
}
]
}
{- "numberOfDeleted": "10"
}
Deletes decisions of a given ids.
OK
Bad Request
{- "decisions": [
- {
- "id": "63e635235c06b7396330fe40",
- "businessPartnerId": "63e635235c06b7396330fe40"
}
]
}
{- "numberOfDeleted": "10"
}
Starts curation decision import job
OK
Bad Request
{- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "onlyNotReviewed": "true",
- "scope": {
- "accepted": {
- "identifiers": [
- {
- "technicalKey": "EU_VAT_ID_DE",
- "changeTypes": [
- "ADDED"
], - "countryShortNames": [
- "CH"
], - "thresholds": {
- "businessPartnerRequestSimilarity": "0.8",
- "addressRequestSimilarity": "0.8",
- "businessPartnerMatchingScore": "0.8",
- "addressMatchingScore": "0.8"
}
}
]
}, - "rejected": {
- "identifiers": [
- {
- "technicalKey": "EU_VAT_ID_DE",
- "changeTypes": [
- "ADDED"
], - "countryShortNames": [
- "CH"
], - "thresholds": {
- "businessPartnerRequestSimilarity": "0.8",
- "addressRequestSimilarity": "0.8",
- "businessPartnerMatchingScore": "0.8",
- "addressMatchingScore": "0.8"
}
}
]
}
}
}
{- "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": "2024-12-21T01:35:24Z",
- "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. Example: businessPartnerIds=63e635235c06b7396330fe40 | ||||||||
limit | integer <int32> >= 1 Default: 500 Number of items to be returned on the page. Example: limit=100 | ||||||||
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. Example: startAfter=NjI4ZGNkZjAzYjlkMjY4NjhlNjQxNDRm | ||||||||
type | string (DecisionLogTypeTechnicalKeyParam) Only show decisions of given type.
Example: type=CURATIONS |
OK
Bad Request
{- "values": [
- {
- "id": "63e635235c06b7396330fe40",
- "type": {
- "technicalKey": "CURATIONS"
}, - "businessPartnerId": "63e635235c06b7396330fe40",
- "dataSourceId": "648824a691d8d2503d65103e",
- "externalId": "The ID managed in the customer's SAP systems.",
- "lastUpdatedAt": "2024-12-21T01:35:24Z",
- "lastUpdatedBy": "username",
- "updateDecisions": [
- {
- "context": {
- "createdBy": "76248934691294444",
- "createdAt": "2024-12-21T01:35:24Z",
- "scope": {
- "dataSourceIds": [
- null
], - "countryShortNames": [
- null
], - "curationSimilarity": "0.8"
}
}, - "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": "$.partnerProfile.minorityIndicator.value",
- "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.9",
- "businessPartner": "0.9",
- "address": "0.9"
}
}, - "status": "ACCEPTED",
- "reliability": "TRUSTED_SOURCE"
}
], - "validationDecisions": [
- {
- "context": {
- "createdBy": "76248934691294444",
- "createdAt": "2024-12-21T01:35:24Z"
}, - "dataDefect": {
- "businessRule": {
}, - "properties": [
- {
- "parentConcept": null,
- "content": null,
- "url": null,
- "instanceSelectors": [ ]
}
]
}, - "status": "ACCEPTED"
}
]
}
], - "limit": "100",
- "startAfter": "5712566172571652",
- "nextStartAfter": "5712566172571652",
- "total": "67"
}
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": "2024-12-21T01:35:24Z",
- "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": "63e635235c06b7396330fe40",
- "dataSourceId": "648824a691d8d2503d65103e",
- "externalId": "The ID managed in the customer's SAP systems.",
- "updateDecisions": [
- {
- "context": {
- "createdBy": "76248934691294444",
- "createdAt": "2024-12-21T01:35:24Z",
- "scope": {
- "dataSourceIds": [
- null
], - "countryShortNames": [
- null
], - "curationSimilarity": "0.8"
}
}, - "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": "$.partnerProfile.minorityIndicator.value",
- "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.9",
- "businessPartner": "0.9",
- "address": "0.9"
}
}, - "status": "ACCEPTED",
- "reliability": "TRUSTED_SOURCE"
}
], - "validationDecisions": [
- {
- "context": {
- "createdBy": "76248934691294444",
- "createdAt": "2024-12-21T01:35:24Z"
}, - "dataDefect": {
- "businessRule": {
}, - "properties": [
- {
- "parentConcept": null,
- "content": null,
- "url": null,
- "instanceSelectors": [ ]
}
]
}, - "status": "ACCEPTED"
}
]
}
]
}
{- "numberOfProvidedDecisions": "10",
- "numberOfInserts": "5",
- "numberOfUpdates": "5"
}