This API provides services used for business partner qualification
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/
https://api.corporate-data-league.ch/data-validation/soap/v3/
https://api.corporate-data-league.ch/data-validation/
JSON object that will be RDFied. Record and jsonRecord cannot be present at the same time.
Stringified data that will be RDFied. Record and jsonRecord cannot be present at the same time.
Name of the attribute that should be used as a main identifier for all triples generated based on the data sent. Will use first found value of an attribute with given name.
JSON path that can locate attribute, in case of non-existent path selection will fall back to referenceIdTag.
Prefix that is used for generating TTL triples. Single resource URI is created by baseUrl + rootPrefix + encodedJSONPath ex. https://meta.cdq.com/data/name.
- Mock server
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/records/rdfify
- Production SOAP
https://api.corporate-data-league.ch/data-validation/soap/v3/records/rdfify
- Production
https://api.corporate-data-league.ch/data-validation/records/rdfify
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/records/rdfify \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"jsonRecord": "{'\''recordId'\'': '\''id'\'', '\''name'\'': '\''demo'\''}",
"baseURL": "https://meta.cdq.com/",
"record": "{\\\"recordId\\\":\\\"id\\\",\\\"name\\\":\\\"demo\\\"}",
"referenceIdTag": "record_id",
"pathToReferenceId": "\\fullPath\\recordId",
"rootPrefix": "data",
"knowledgeGraphId": "kg_1_m_1"
}'OK
- application/json
- application/xml
Returns input record or jsonRecord transformed to triples.
{ "rdfRecord": "<https://monitor.test.cdq.com/380bdf33-ad17-41bc-a3e5-78b27befdca9> a <https://monitor.test.cdq.com/Record>; <https://monitor.test.cdq.com/Property/Has_record_id> '92912918-a85c-4d77-9f62-3b2ddb57a279'; <https://monitor.test.cdq.com/Property/Name> 'demo' ." }
SPARQL query that’s being tested
Knowledge Graph that contains required configuration for test cases rdfication process.
List of Test Custom Rule Test Cases.
JSON object with test case data. If data and jsonRecord are present, exception will be thrown.
- Mock server
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/records/testCustomRule
- Production SOAP
https://api.corporate-data-league.ch/data-validation/soap/v3/records/testCustomRule
- Production
https://api.corporate-data-league.ch/data-validation/records/testCustomRule
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/records/testCustomRule \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"query": "SELECT * WHERE{ ?record a <https://monitor.test.cdq.com/Record> ; \t<https://monitor.test.cdq.com/Property/Name> ?name .FILTER(str(?name) != '\''demo'\'')}",
"knowledgeGraphId": "kg_1_m_1",
"testCases": [
{
"name": "Test case 1",
"data": "{\\\"name\\\":\\\"demo\\\"}",
"jsonRecord": "{\\\"name\\\":\\\"demo\\\"}"
}
]
}'{ "results": [ { … } ] }
Identifier for the custom knowledge graph that should be used for validation.
Mapping ID that should be used for the mapping. Overrules a mapping of the knowledge graph (if exists). To run validation against CDL Rules, data mapping definition by given ID must exist and user executing validation needs to have permission to access it.
Profile which is used during validation. Default value is STANDARD.
| Enum Value | Description |
|---|---|
| QUICK | This profile checks data quality of records in a quick way, i.e. data quality rules that have a negative impact on performance. |
| STANDARD | This profile checks data quality using CDQ's standard configuration. |
| QUALIFICATION | Deprecated. |
| AUTOMATION | Deprecated. |
| EU_VAT_QUALIFICATION | This profile qualifies EU VATs using CDQ's default configuration of data quality rules for qualified checks of EU VATs |
| DATA_SHARING_QUALITY_GATE | Quality checks ensure that only valid data enters the CDQ Community Data Pool |
| IDENTIFIER_QUALITY | This profile checks identifiers with a standard configuration of data quality rules. It does not comprise qualified checks of identifiers regarding e.g. name or address. |
| ADDRESS_QUALITY | This profile checks addresses with a standard configuration of data quality rules. |
| WORLDWIDE_IDENTIFIER_QUALIFICATION | This profile qualifies any supported business identifier (e.g. tax numbers) worldwide using CDQ's default configuration of data quality rules for qualified checks of a particular identifier |
| FEATURES_OFF | This profile turns off any qualification rules and is designed for custom rules selection. |
Filter for rule status.
| Items Enum Value | Description |
|---|---|
| RELEASED | Rule was moved from status PLANNED automatically during daily testing or by manual maintenance. |
| DRAFT | Rule was created as a draft and it will be not executed. |
| HYPERCARE | Rule was moved from status DEACTIVATED automatically during daily testing. |
Activate features.
| Items Enum Value | Description |
|---|---|
| ENRICH_DATA_MIRROR_CHANGES | Enriches the data with changes from the data mirror. |
| EXTERNAL_SOURCES_OFF | Disables any rule that utilizes Data Sources in validation process (rule’s Primary/Secondary datasources). |
| SHOW_BUSINESSPARTNER | Returns the Business Partner as a part of the validation response. |
| SHOW_DEBUG_INFO | Return additional information that can be used for debugging purposes. |
| USE_AUTOMATION_RULES | Executes business rules of category Automation_rule. |
List of features to be deactivated.
| Items Enum Value | Description |
|---|---|
| ENRICH_DATA_MIRROR_CHANGES | Enriches the data with changes from the data mirror. |
| EXTERNAL_SOURCES_OFF | Disables any rule that utilizes Data Sources in validation process (rule’s Primary/Secondary datasources). |
| SHOW_BUSINESSPARTNER | Returns the Business Partner as a part of the validation response. |
| SHOW_DEBUG_INFO | Return additional information that can be used for debugging purposes. |
| USE_AUTOMATION_RULES | Executes business rules of category Automation_rule. |
Urls of cdl rules ignored during validation process.
Urls of cdl rules that are active during validation process.
Criticalities of cdl rules that are active during validation process.
If data sources are disabled by feature toggle you can enable some of them passing their prefixes here.
Rules with data sources passed here are not used in validation process.
Storage used for data mirror enrichment.
Stringified test case data. If data and jsonRecord are present, exception will be thrown.
- Mock server
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/v2/records/validateChunk
- Production SOAP
https://api.corporate-data-league.ch/data-validation/soap/v3/v2/records/validateChunk
- Production
https://api.corporate-data-league.ch/data-validation/v2/records/validateChunk
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/v2/records/validateChunk \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"jsonRecord": {},
"customKnowledgeGraph": "customer_name",
"dataMapperDefinitionId": "ef48bc9f-7fa1-4c4e-8c0d-d1cc3301cc20",
"profile": "QUICK",
"ruleStatuses": [
"RELEASED"
],
"featuresOn": [
"SHOW_LOOKUP_RESULTS"
],
"featuresOff": [
"SHOW_LOOKUP_RESULTS"
],
"ruleCategoriesOn": [
{
"url": "https://meta.cdq.com/Identifier_checkdigit"
}
],
"ignoredRules": [
"https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))"
],
"activatedRules": [
"https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))"
],
"criticalities": [
{
"businessRuleUrl": "https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))",
"violationLevel": "INFO"
}
],
"dataSourcesOn": [
{
"prefix": "VIES"
}
],
"dataSourcesOff": [
{
"prefix": "VIES"
}
],
"dataMirrorStorageId": "6ecd44476b95347e8a0d215589afj420",
"records": [
{
"jsonRecord": {},
"record": "{\\\"name\\\":\\\"demo\\\"}",
"externalId": "A12345"
}
]
}'{ "results": [ { … } ] }
Identifier for the custom knowledge graph that should be used for validation.
Mapping ID that should be used for the mapping. Overrules a mapping of the knowledge graph (if exists). To run validation against CDL Rules, data mapping definition by given ID must exist and user executing validation needs to have permission to access it.
Profile which is used during validation. Default value is STANDARD.
| Enum Value | Description |
|---|---|
| QUICK | This profile checks data quality of records in a quick way, i.e. data quality rules that have a negative impact on performance. |
| STANDARD | This profile checks data quality using CDQ's standard configuration. |
| QUALIFICATION | Deprecated. |
| AUTOMATION | Deprecated. |
| EU_VAT_QUALIFICATION | This profile qualifies EU VATs using CDQ's default configuration of data quality rules for qualified checks of EU VATs |
| DATA_SHARING_QUALITY_GATE | Quality checks ensure that only valid data enters the CDQ Community Data Pool |
| IDENTIFIER_QUALITY | This profile checks identifiers with a standard configuration of data quality rules. It does not comprise qualified checks of identifiers regarding e.g. name or address. |
| ADDRESS_QUALITY | This profile checks addresses with a standard configuration of data quality rules. |
| WORLDWIDE_IDENTIFIER_QUALIFICATION | This profile qualifies any supported business identifier (e.g. tax numbers) worldwide using CDQ's default configuration of data quality rules for qualified checks of a particular identifier |
| FEATURES_OFF | This profile turns off any qualification rules and is designed for custom rules selection. |
Filter for rule status.
| Items Enum Value | Description |
|---|---|
| RELEASED | Rule was moved from status PLANNED automatically during daily testing or by manual maintenance. |
| DRAFT | Rule was created as a draft and it will be not executed. |
| HYPERCARE | Rule was moved from status DEACTIVATED automatically during daily testing. |
Activate features.
| Items Enum Value | Description |
|---|---|
| ENRICH_DATA_MIRROR_CHANGES | Enriches the data with changes from the data mirror. |
| EXTERNAL_SOURCES_OFF | Disables any rule that utilizes Data Sources in validation process (rule’s Primary/Secondary datasources). |
| SHOW_BUSINESSPARTNER | Returns the Business Partner as a part of the validation response. |
| SHOW_DEBUG_INFO | Return additional information that can be used for debugging purposes. |
| USE_AUTOMATION_RULES | Executes business rules of category Automation_rule. |
List of features to be deactivated.
| Items Enum Value | Description |
|---|---|
| ENRICH_DATA_MIRROR_CHANGES | Enriches the data with changes from the data mirror. |
| EXTERNAL_SOURCES_OFF | Disables any rule that utilizes Data Sources in validation process (rule’s Primary/Secondary datasources). |
| SHOW_BUSINESSPARTNER | Returns the Business Partner as a part of the validation response. |
| SHOW_DEBUG_INFO | Return additional information that can be used for debugging purposes. |
| USE_AUTOMATION_RULES | Executes business rules of category Automation_rule. |
Urls of cdl rules ignored during validation process.
Urls of cdl rules that are active during validation process.
Criticalities of cdl rules that are active during validation process.
If data sources are disabled by feature toggle you can enable some of them passing their prefixes here.
Rules with data sources passed here are not used in validation process.
Storage used for data mirror enrichment.
- Mock server
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/v2/records/validate
- Production SOAP
https://api.corporate-data-league.ch/data-validation/soap/v3/v2/records/validate
- Production
https://api.corporate-data-league.ch/data-validation/v2/records/validate
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-validation-api/api-v3/v2/records/validate \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"jsonRecord": "{}",
"customKnowledgeGraph": "customer_name",
"dataMapperDefinitionId": "ef48bc9f-7fa1-4c4e-8c0d-d1cc3301cc20",
"profile": "QUICK",
"ruleStatuses": [
"RELEASED"
],
"featuresOn": [
"SHOW_LOOKUP_RESULTS"
],
"featuresOff": [
"SHOW_LOOKUP_RESULTS"
],
"ruleCategoriesOn": [
{
"url": "https://meta.cdq.com/Identifier_checkdigit"
}
],
"ignoredRules": [
"https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))"
],
"activatedRules": [
"https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))"
],
"criticalities": [
{
"businessRuleUrl": "https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))",
"violationLevel": "INFO"
}
],
"dataSourcesOn": [
{
"prefix": "VIES"
}
],
"dataSourcesOff": [
{
"prefix": "VIES"
}
],
"dataMirrorStorageId": "6ecd44476b95347e8a0d215589afj420",
"record": "{}",
"externalId": "A12345"
}'OK
- application/json
- application/xml
QualificationResult is created when validation process takes into consideration rules of category and the feature SHOW_QUALIFICATION_DECISIONS is enabled. Enabling qualification can be done by the profile related to the qualification. QualificationResult contains information about qualification decisions, the data that have been qualified and overall qualification decisions.
Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO.
Applicable only for Record Validation when feature ENRICH_DATA_MIRROR_CHANGES is enabled. Contains differences between value stored in CDQ storage and the value that was sent with the request.
An organization which has some degree of involvement with another organization's business dealings. Typically, a company's business partner is another company in the role of a customer, a supplier, a vendor, or a service provider. In the CDL context, the business partner is the core managed entity. A business partner is globally uniquely identifiable by a CDL ID, and all managed information such as addresses, documents, and hierarchies is linked to a business partner.
{ "dataDefects": [ { … } ], "decisions": [ { … } ], "qualificationResult": { "sourceData": [ … ], "formattedSourceData": { … }, "validatorStatus": "ONLINE", "validatorMessage": "VAT ID is valid.", "qualifiedBy": { … }, "qualifiedAt": "2019-07-11T16:32:28.425", "addressQualification": "QUALIFIED", "addressQualificationDetails": { … }, "identifierValidity": "VALID", "businessPartnerNameQualification": "QUALIFIED", "overallQualification": "QUALIFIED" }, "summary": { "validationLevel": "ERROR", "dataQualityRecordStatus": { … }, "action": "FULL_CHECK", "statistics": { … } }, "debugInfo": { "externalServiceResponses": [ … ], "businessRulesExecutionSummary": { … } }, "diff": "{\"Identified_changes\":[{\"op\":\"add\",\"path\":\"/partner/header/objectTask\",\"value\":\"C\"}]}", "businessPartner": { "names": [ … ], "legalForm": "Aktiengesellschaft", "identifiers": [ … ], "categories": [ … ], "status": { … }, "addresses": [ … ], "externalId": "The ID managed in the customer's SAP systems.", "profile": { … }, "formattedSapRecord": { … }, "relations": [ … ], "bankAccounts": [ … ], "types": [ … ], "externalContext": "LIFNR", "id": "63e635235c06b7396330fe40", "dataSource": "VIES", "lastModifiedAt": "2020-08-31T16:47+00:00" } }