Public

Rdificate Custom RecordDeprecated

Rdificate a custom record. It returns rdf model of the record.

SecurityapiKey
Request
Request Body schema: application/json
baseURL
required
string

Base.

Example: "http://meta.cdq.com/"
object

JSON object that will be RDFied. Record and jsonRecord cannot be present at the same time.

Example: "{'recordId': 'id', 'name': 'demo'}"
knowledgeGraphId
string

Knowledge Graph that contains required configuration for test cases rdfication process.

Example: "kg_1_m_1"
pathToReferenceId
required
string

JSON path that can locate attribute, in case of non-existent path selection will fall back to referenceIdTag.

Example: "\\fullPath\\recordId"
record
string

Stringified data that will be RDFied. Record and jsonRecord cannot be present at the same time.

Example: "{\\\"recordId\\\":\\\"id\\\",\\\"name\\\":\\\"demo\\\"}"
referenceIdTag
required
string

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.

Example: "record_id"
rootPrefix
required
string

Prefix that is used for generating TTL triples. Single resource URI is created by baseUrl + rootPrefix + encodedJSONPath ex. http://meta.cdq.com/data/name.

Example: "data"
Responses
200

OK

post/records/rdfify
Request samples
application/json
{
  • "jsonRecord": "{'recordId': 'id', 'name': 'demo'}",
  • "baseURL": "http://meta.cdq.com/",
  • "record": "{\\\"recordId\\\":\\\"id\\\",\\\"name\\\":\\\"demo\\\"}",
  • "referenceIdTag": "record_id",
  • "pathToReferenceId": "\\fullPath\\recordId",
  • "rootPrefix": "data",
  • "knowledgeGraphId": "kg_1_m_1"
}
Response samples
{
  • "rdfRecord": "<http://monitor.test.cdq.com/380bdf33-ad17-41bc-a3e5-78b27befdca9> a <http://monitor.test.cdq.com/Record>; <http://monitor.test.cdq.com/Property/Has_record_id> '92912918-a85c-4d77-9f62-3b2ddb57a279'; <http://monitor.test.cdq.com/Property/Name> 'demo' ."
}

Validate Business PartnerDeprecated

Validates a Business Partner against data quality rules.

SecurityapiKey
Request
Request Body schema: application/json
required
object

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.

bzstPrint
string

Request printed confirmation by German BZSt authority

Example: "true"
featuresOff
Array of strings

List of features to be deactivated.

Items Enum: Description
ENRICH_CATEGORIES

Enrich a CDL community standardized business partner category for a given entity.

ENRICH_LEGAL_FORM

Identify and enriches the legal form of a company.

LAB_BETA

Deprecated feature.

QUALIFICATION_SILENT_MODE

If enabled all exceptions occurring within execution of business rules are ignored. If not enabled then execution error will result in creating data defect. By default, part of profile QUALIFICATION.

SHOW_BUSINESSPARTNER

Shows business partner that was used in the request.

SHOW_DEBUG_INFO

Shows additional information about validation process (number of applied rules, used categories, failed executions etc.).

SHOW_LOOKUP_RESULTS

Displays results from the lookup endpoint (usually enriched data in comparison to the original business partner requested).

SHOW_QUALIFICATION_DECISIONS

Shows qualification decisions - used only in qualification endpoint in API v3. In APIv1 and APIv2 it is used in validation endpoint.

USE_SPARQL_VALIDATOR

Deprecated feature.

Example: ["SHOW_DEBUG_INFO"]
featuresOn
Array of strings

List of features to be activated.

Items Enum: Description
ADDRESS_CHECKS

CDQ data quality profiling services enable the validation of addresses with respect to different data quality criteria.

BANKING_DATA_CHECKS

CDQ data quality profiling services enable the validation of bank master data with respect to different data quality criteria.

BUSINESS_PARTNER_CHECKS

Validate concepts that basically establish a business partner (e.g. name and legal form).

ENRICH_CATEGORIES

Enrich a CDL community standardized business partner category for a given entity.

ENRICH_LEGAL_FORM

Identify and enriches the legal form of a company.

EU_VAT_QUALIFICATION_STANDARD

For a given EU VAT, it is checked whether the name and address are really associated with this identifier (same information maintained in the VAT register as provided by the user).

FORCE_EXTERNAL_CALL

Forces calls on external services ignoring cache.

IDENTIFIER_CHECKS

Validate business (VAT, tax, business register IDs) and location identifiers against different data quality rules categories.

IDENTIFIER_QUALIFICATION

Turns on identifier qualification (standard) which enables to qualify EU VAT identifiers.

LAB_BETA

Deprecated feature.

QUALIFICATION_SILENT_MODE

If enabled all exceptions occurring within execution of business rules are ignored. If not enabled then execution error will result in creating data defect. By default, part of profile QUALIFICATION.

SHOW_BUSINESSPARTNER

Shows business partner that was used in the request.

SHOW_DATA_DEFECTS

Shows found data defects - usually it is turned on.

SHOW_DEBUG_INFO

Shows additional information about validation process (number of applied rules, used categories, failed executions etc.).

SHOW_LOOKUP_RESULTS

Displays results from the lookup endpoint (usually enriched data in comparison to the original business partner requested).

SHOW_QUALIFICATION_DECISIONS

Shows qualification decisions - used only in qualification endpoint in API v3. In APIv1 and APIv2 it is used in validation endpoint.

USE_SPARQL_VALIDATOR

Deprecated feature.

Example: ["SHOW_LOOKUP_RESULTS"]
profile
string (ValidationProfile)

Profile which is used during validation. Default value is STANDARD.

Enum: 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.

Example: "QUICK"
ruleCategoriesUrls
Array of strings (RuleCategoryUrl)

List of CDL rule categories.

Items Enum: Description
http://meta.cdq.com/Category:Address_data_quality_rules

Rules that check the quality of address data.

http://meta.cdq.com/Category:National_identifier_data_quality_rules

Rules that check the quality of national identifier data.

http://meta.cdq.com/Category:European_VAT_identifier_data_quality_rules

Rules that check the quality of European VAT identifier data.

http://meta.cdq.com/Category:Tax_identifier_data_quality_rules

Rules that check the quality of tax identifier data.

Example: ["https://www.corporate-data-league.ch/meta/Category:Address_data_quality_rules"]
ruleStatuses
Array of strings (RuleStatus)

Enable rules with provided statuses.

Items Enum: 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.

Example: ["RELEASED"]
ruleUrls
Array of strings (BusinessRuleUrl)

List of CDL rules.

Example: ["https://meta.cdq.com/Identifier_unknown_(European_value_added_tax_identifier_(The_Netherlands))"]
validationSource
string (ValidationSource)

The sources is an information obtained from the Business Rule telling to which knowledge graph the Business Rule that detected the data defect belongs. In case of a Business Partner validation the source is usually CDL knowledge graph because it contains business rules specific for BusinessPartner validation. In case of a Record validation process - two option can be present e.g. CDL and CUSTOM. This depends on if data mapping definition was defined and if business partner validation was executed in the context of record validation.

Enum: Description
CDL

Allows verifying the validity of a VAT number base on Corporate Data League rules.

BZST

Allows verifying the validity of a Germany VAT number issued by any European Member State.

VIES

Allows verifying the validity of a VAT number issued by any European Member State. For all countries except Germany, the registration data (name and address for which the VAT is registered) can be received as well. For Spain registration, data can only be confirmed but not received by just providing the VAT number.

AT

Allows verifying the validity of a VAT number issued by any European Member State.

CUSTOM

Allows verifying the validity of a VAT number base on custom rules set by customer in th CDQ's wiki.

Example: "VIES"
vatAtRequestor
string
Deprecated

DEPRECATED, use organizational settings to configure.

The requestor’s VAT identifier, required for execution of requests against external data sources.

Example: "AT123456789"
vatDeRequestor
string
Deprecated

DEPRECATED, use organizational settings to configure.

The requestor’s VAT identifier, required for execution of requests against external data sources.

Example: "DE123456789"
Responses
200

OK

post/businesspartners/validate
Request samples
application/json
{
  • "businessPartner": {
    },
  • "profile": "QUICK",
  • "featuresOn": [
    ],
  • "featuresOff": [
    ],
  • "vatAtRequestor": "AT123456789",
  • "vatDeRequestor": "DE123456789",
  • "bzstPrint": "true",
  • "validationSource": "VIES",
  • "ruleStatuses": [
    ]
}
Response samples
{
  • "dataDefects": [],
  • "qualificationResult": {
    },
  • "lookupResults": [
    ],
  • "summary": {
    },
  • "debugInfo": {},
  • "identifierResults": [
    ],
  • "businessPartner": {
    },
  • "rulesInError": [
    ]
}