Skip to content

Referencedata API (4)

This API provides services to search and read reference data

Download OpenAPI description
Languages
Servers
Production

https://api.cdq.com/referencedata/rest/

Business Partners

Everything about Business Partners

Operations

Lookup Business Partners

Request

Perform a Business Partner lookup operation across all available Data Sources. The output of this operation will be a comprehensive list of Business Partners, each accompanied by their respective Data Sources and meticulously calculated matching scores. It is important to note that all accessible data sources are comprehensively documented within the Data_source Category on CDQ Wiki.

The Data Sources are categorized as follows:

  • OPEN: These Data Sources are open to everyone without any registration requirement.
  • FREE: These Data Sources are free to use, but registration is required.
  • COMMERCIAL: These Data Sources are only available to commercial users.

The results of the Business Partner lookup operation are sorted in descending order based on their matching scores. Additionally, the results are conveniently paginated, allowing for efficient navigation through the extensive list. The page size can be effortlessly customized to accommodate specific preferences.

Security
apiKey
Bodyapplication/jsonrequired

cmd

limitinteger(LookupConfigurationLimit)[ 0 .. 1000 ]

Number of items per page. Default value is 10.

Example: "10"
startAfterstring

The ID which is used to read the page.

Example: "5712566172571652"
dataSourcesArray of strings

Filter data sources used during lookup.

Example: ["VIES"]
matchingThresholdnumber(double)(LookupConfigurationMatchingThreshold)[ 0 .. 1 ]

Matching threshold for the lookup process. Default value is 0.5.

Example: "0.5"
maxCandidatesinteger(LookupConfigurationMaxCandidates)[ 20 .. 200 ]

Maximum number of candidates to be returned. Default value is 50.

Example: "50"
storagesDataSourcesArray of objects(StoragesDataSource)

This field allows to filter data mirrors that will be queried. For each data mirror, data sources can also be filtered. Leave empty to include all available data mirrors in query.

featuresOnArray of strings(businessPartnerFeaturesDescription)

List of features to be activated.

Items Enum ValueDescription
ACTIVATE_IDENTIFIER_ONLY_MATCH

Executes lookup based only on identifier. Company names and addresses will not affect results.

ACTIVATE_DATASOURCE_CDQ_POOL

Add results from CDQ Data Sharing Community Data Pool to the lookup results.

ACTIVATE_DATASOURCE_CDL

DEPRECATED Please use ACTIVATE_DATASOURCE_CDQ_POOL instead

ACTIVATE_DATASOURCE_BZST

dd results from Bzst to the lookup results.

ACTIVATE_DATASOURCE_VIES_FOR_ES

Use VIES to check for data correctness (only for spanish records).

ACTIVATE_DATASOURCE_GOOGLEPLACES

Add results from Google Places to the lookup results.

ACTIVATE_DATASOURCE_STORAGES

Add results from organizational data mirrors to the lookup results.

ACTIVATE_DATASOURCE_DNB

Add results from DNB to the lookup results. Works only when in organization setting at least one pair of any dnb credentials are provided and given data source is active.

ACTIVATE_DATASOURCE_BVD

Add results from BVD to the lookup results.

ACTIVATE_DATASOURCE_NLBR

Add results from the Netherlands Company Register NL.BR to the lookup results. Works only when in organization setting the NL.BR credentials are provided.

Example: ["ACTIVATE_DATASOURCE_BVD"]
featuresOffArray of strings(businessPartnerFeaturesDescription)

List of features to be deactivated.

Items Enum ValueDescription
ACTIVATE_IDENTIFIER_ONLY_MATCH

Executes lookup based only on identifier. Company names and addresses will not affect results.

ACTIVATE_DATASOURCE_CDQ_POOL

Add results from CDQ Data Sharing Community Data Pool to the lookup results.

ACTIVATE_DATASOURCE_CDL

DEPRECATED Please use ACTIVATE_DATASOURCE_CDQ_POOL instead

ACTIVATE_DATASOURCE_BZST

dd results from Bzst to the lookup results.

ACTIVATE_DATASOURCE_VIES_FOR_ES

Use VIES to check for data correctness (only for spanish records).

ACTIVATE_DATASOURCE_GOOGLEPLACES

Add results from Google Places to the lookup results.

ACTIVATE_DATASOURCE_STORAGES

Add results from organizational data mirrors to the lookup results.

ACTIVATE_DATASOURCE_DNB

Add results from DNB to the lookup results. Works only when in organization setting at least one pair of any dnb credentials are provided and given data source is active.

ACTIVATE_DATASOURCE_BVD

Add results from BVD to the lookup results.

ACTIVATE_DATASOURCE_NLBR

Add results from the Netherlands Company Register NL.BR to the lookup results. Works only when in organization setting the NL.BR credentials are provided.

Example: ["ACTIVATE_DATASOURCE_BVD"]
businessPartnerobject(BusinessPartnerParam)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

configurationIdstring(ReferenceDataConfigurationId)

Configuration ID used to set up lookup. If provided, those parameters will be affected. If any of them is provided in this request, will overwrite one from configuration (except for features which are merged):

  • dataSource
  • dataMatchingDefinitionId
  • matchingThreshold
  • maxCandidates
  • pageSize (deprecated)
  • limit
  • featuresOn
  • featuresOff
Example: "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v4/businesspartners/lookup \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "matchingThreshold": 0,
    "pageSize": 10,
    "page": 0,
    "dataSources": [
      "string"
    ],
    "businessPartner": {
      "names": [
        {
          "value": "string"
        }
      ],
      "identifiers": [
        {
          "value": "string",
          "type": {
            "technicalKey": "string"
          }
        }
      ],
      "legalForm": {
        "value": "string"
      },
      "addresses": [
        {
          "thoroughfares": [
            {
              "value": "string",
              "number": "string"
            }
          ],
          "localities": [
            {
              "value": "string"
            }
          ],
          "administrativeAreas": [
            {
              "value": "string"
            }
          ],
          "postCodes": [
            {
              "value": "string"
            }
          ],
          "country": {
            "shortName": "string"
          }
        }
      ]
    }
  }'

Responses

OK

Bodyapplication/json
totalinteger(PageTotal)

Total number of items which can be paged.

Example: "67"
limitinteger(Limit)

Number of items per page.

Example: "100"
startAfterstring(StartAfter)

The ID which is used to read the page.

Example: "5712566172571652"
nextStartAfterstring(NextStartAfter)

Provides a value to be used as a startAfter in next page request.

Example: "5712566172571652"
valuesArray of objects(BusinessPartnerLookupMatch)

List of Business Partner Lookup Matches.

goldenRecordobject(GoldenRecord)

Represent a Business Partner record with the highest matching score based on data completeness.

debugInfoobject(LookupDebugInfo)

Debug information about the lookup. The lookup response contains the matching profile and the matching score. Can be activated by a feature SHOW_DEBUG_INFO.

annotationsArray of objects(Annotations)

The list of annotations.

Response
application/json
{ "cdqId": "VIES:CZ46981691", "dataSource": { "aleiPrefix": "VIES", "name": "VIES" }, "businessPartner": { "names": [], "identifiers": [], "categories": [], "addresses": [], "formattedSapRecord": {}, "types": [] } }

Fetch Business Partner

Request

Retrieves the Business Partner based on the Lookup and returning the result of the single record.

Read more about Golden Record here.

Security
apiKey
Bodyapplication/jsonrequired
cdqIdstring

CDQ ID for Business Partner and address.

Example: "VIES:DE123456789"
businessPartnerobject(BusinessPartnerParam)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

featuresOnArray of strings(BusinessPartnerFetchFeatureEnum)

List of features to be activated.

Items Enum ValueDescription
ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_DEBUG_INFO

Show additional information regarding request processing, including enabled features, request, request after curation procedure and responses from external services.

SHOW_RAW_DATA

Show raw data returned by external service.

SHOW_RAW_DATA_JSON

Show raw data returned by external service in JSON format.

FORCE_EXTERNAL_CALL

Call external service even when results from data mirrors are available.

SCREEN_BUSINESS_NAMES

Add screeningResult to the Business Partner.

SHOW_COMMERCIAL_ULTIMATE

Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

SHOW_DOMESTIC_COMMERCIAL_ULTIMATE

Fetch Domestic Commercial Ultimate from DNB. ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

DETECT_LEGAL_ENTITY

<b style="color: white; background: #077fbb; border-radius: 5px; margin-left: 0; padding: 2px 10px; font-size: 14px; vertical-align: super;">BETA</b><br>Finds out whether requested DUNS is a branch or headquarter.

ACTIVATE_DATASOURCE_BVD

Allows to use DVB datasource in golden record.

Example: ["SHOW_RAW_DATA"]
featuresOffArray of strings(BusinessPartnerFetchFeatureEnum)

List of features to be deactivated.

Items Enum ValueDescription
ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_DEBUG_INFO

Show additional information regarding request processing, including enabled features, request, request after curation procedure and responses from external services.

SHOW_RAW_DATA

Show raw data returned by external service.

SHOW_RAW_DATA_JSON

Show raw data returned by external service in JSON format.

FORCE_EXTERNAL_CALL

Call external service even when results from data mirrors are available.

SCREEN_BUSINESS_NAMES

Add screeningResult to the Business Partner.

SHOW_COMMERCIAL_ULTIMATE

Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

SHOW_DOMESTIC_COMMERCIAL_ULTIMATE

Fetch Domestic Commercial Ultimate from DNB. ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

DETECT_LEGAL_ENTITY

<b style="color: white; background: #077fbb; border-radius: 5px; margin-left: 0; padding: 2px 10px; font-size: 14px; vertical-align: super;">BETA</b><br>Finds out whether requested DUNS is a branch or headquarter.

ACTIVATE_DATASOURCE_BVD

Allows to use DVB datasource in golden record.

Example: ["SHOW_RAW_DATA"]
screeningMatchingThresholdnumber

The matching threshold. When not set then all entries are taken into consideration.

Example: "0.8"
configurationIdstring(ReferenceDataFetchConfigurationId)

Configuration ID used to set up fetch. If provided, those parameters will be affected. If any of them is provided in this request, will overwrite one from configuration (except for features which are merged):

  • screeningMatchingThreshold
  • featuresOn
  • featuresOff
Example: "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v4/businesspartners/fetch \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqId": "VIES:CZ46981691"
  }'

Responses

OK

Bodyapplication/json
debugInfoobject(FetchDebugInfo)

Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO.

statusobject(Status)

Details about status or error of a service

cdqIdstring

Unique identifier for the Business Partner.

Example: "VIES:PL8660001429"
lastSyncAtstring

Last time the Business Partner was synchronized.

Example: "2025-08-15T11:08:44Z"
lastUpdatedAtstring

Last time the Business Partner was updated.

Example: "2025-08-15T11:08:44Z"
dataSourcestring(BusinessPartnerStorageDataSourceId)

Unique identifier for a Data Source of the Storage.

Example: "648824a691d8d2503d65103e"
dataSourceNamestring(BusinessPartnerStorageDataSourceName)

Name of a data source of a storage.

Example: "Internal customers"
businessPartnerobject(BusinessPartner)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

rawRecordArray of objects(KeyValueItem)

Raw record of the Business Partner.

rawRecordJsonobject(RawRecordJson)

Raw record returned by external service in JSON format.

businessPartnerChangesArray of objects(PropertyChange)

Changes of the Business Partner.

screeningResultobject(BusinessPartnerFetchScreeningResult)

Result of the screening process.

additionalInformationArray of objects(AdditionalInformation)

Additional information about the Business Partner.

commercialUltimateobject(CommercialUltimate)

The details of the Commercial Ultimate for the entity.

domesticCommercialUltimateobject(CommercialUltimate)

The details of the Commercial Ultimate for the entity.

legalEntityobject(BusinessPartner)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

Response
application/json
{ "cdqId": "VIES:CZ46981691", "dataSource": { "aleiPrefix": "VIES", "name": "VIES" }, "businessPartner": { "names": [], "identifiers": [], "categories": [], "addresses": [], "formattedSapRecord": {}, "types": [] } }

Create Supplier Gateway Record

Request

Creates a new Supplier Gateway record by providing the necessary information and returns the created record.

Security
apiKey
Bodyapplication/jsonrequired
supplierGatewayobject(SupplierGatewayCreateBody)

Complete body of the Supplier Gateway Record.

curl -i -X POST \
  https://api.cdq.com/referencedata/rest/sgw/businesspartners \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "supplierGateway": {
      "CompanyName": "Acme Corporation",
      "EIN": "12-3456789",
      "SupplierNumber": "SUP12345",
      "Address": "123 Main St",
      "Address2": "Suite 100",
      "City": "Springfield",
      "State": "IL",
      "Country": "USA",
      "Zip": "62701",
      "ZipPlus": "62701-1234",
      "Phone": "(123) 456-7890",
      "Category": "Manufacturing",
      "Ethnicity": "Not disclosed",
      "ContactFirstName": "John",
      "ContactLastName": "Doe",
      "ContactEmail": "johndoe@example.com",
      "RequiredtoReport": "Yes",
      "YearEstablished": "2000",
      "NumberOfEmployee": "100",
      "Capabilities": "Manufacturing, Distribution",
      "Duns": "15-048-3782",
      "Naics": "541511",
      "ProductListing": "Product A, Product B",
      "ServiceListing": "Service X, Service Y",
      "Certificates": [
        {
          "CertID": "CERT12345",
          "CertNo": "12345",
          "CertifiedDate": "2025-08-15T11:08:44Z",
          "ExpirationDate": "2025-08-15T11:08:44Z",
          "Attachments": {
            "Title": "Certificate Document",
            "Url": "https://example.com/certificate.pdf"
          }
        }
      ]
    }
  }'

Responses

successful operation

Body
Codestring

Code representing the status of the supplier gateway.

Example: "200"
Messagestring

Message providing additional information about the status of the supplier gateway.

Example: "Supplier gateway successfully created"
Supplierobject

Containing details about the supplier.

Response
{ "Code": "200", "Message": "Supplier gateway successfully created", "Supplier": { "SupplierNumber": "SUP12345", "TaxID": "12-3456789", "CompanyName": "Acme Corporation", "ContactName": "John Doe", "Address": "123 Main St, Springfield, IL", "City": "Springfield", "State": "IL", "Country": "USA", "Zip": "62701", "ZipPlus": "62701-1234", "Phone": "(123) 456-7890", "Fax": "(123) 456-7891", "Email": "contact@acme.com", "Web": "https://www.acme.com", "Duns": "15-048-3782", "yearEstablished": "2000", "NumberOfEmployee": "100", "Capability": "Manufacturing, Distribution", "Status": "Active", "Acct": "ACC12345", "LastAct": "2025-08-15T11:08:44Z", "SBASDB": "Yes", "Hub": "Yes", "HubExp": "2025-08-15T11:08:44Z", "Validated": "Yes", "Preg": "PREG12345", "PregStart": "2025-08-15T11:08:44Z", "PregComp": "2025-08-15T11:08:44Z", "PregStat": "Completed", "Mospnd18": "MOSPND12345", "Moamt18": "MOAMT12345", "MasterSupplierNo": "MSUP12345", "Tier2Required": "Yes", "Categories": [], "Ethnicities": [], "Certifications": [], "Banks": [] } }

Fetch Supplier Gateway Record

Request

Fetches a Supplier Gateway record by providing the necessary information and returns the fetched record.

Security
apiKey
Bodyapplication/jsonrequired
cdqIdstring

CDQ ID of the supplier gateway record to fetch.

Example: "VIES:DE119267630"
supplierNumberstring

Supplier Number to fetch the Record.

Example: "SUP12345"
featuresOnArray of strings

List of features to be activated.

Items ValueDescription
ENRICH_MINORITY_INDICATOR

Enrich the supplier gateway record with the minority indicator.

Example: ["ENRICH_MINORITY_INDICATOR"]
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/sgw/businesspartners/fetch \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqId": "VIES:DE119267630",
    "supplierNumber": "SUP12345",
    "featuresOn": [
      "ENRICH_MINORITY_INDICATOR"
    ]
  }'

Responses

successful operation

Body
cdqIdstring

The CDQ ID of the supplier gateway.

Example: "VIES:DE119267630"
supplierGatewayobject(SupplierGateway)

A gateway for a supplier.

Provides information such as:

  • status,
  • contact details,
  • certifications,
  • bank information,
  • business categories.
minorityIndicatorobject(MinorityIndicator)

The minority indicator determines the minority group to which a vendor belongs. Usually, the minority indicator is only relevant in the United States and it is used for reporting purposes only. There is a corresponding SAP field in the vendor master for maintaining the minority indicator.

This feature is as of today dependent on data provided by a US based company: SupplierGateway.

Additional documentation can be found here.

Response
{ "cdqId": "VIES:DE119267630", "supplierGateway": { "Code": "200", "Message": "Supplier gateway successfully created", "Supplier": {} }, "minorityIndicator": { "value": "Social enterprise" } }

Fetch Business Partner Relations

Request

Retrieves the Business Partner Relations based on the Lookup and returning the result of the single record.

Security
apiKey
Bodyapplication/jsonrequired
cdqIdstring

CDQ ID for Business Partner and address.

Example: "VIES:DE123456789"
limitinteger(Limit)

Number of items per page.

Example: "100"
startAfterstring(StartAfter)

The ID which is used to read the page.

Example: "5712566172571652"
endedAfterstring

Find relations which endedAt is after given date.

Example: "2025-08-15T11:08:44Z"
endedBeforestring

Find relations which endedAt is before given date.

Example: "2025-08-15T11:08:44Z"
startedAfterstring

Find relations which startedAt is after given date.

Example: "2025-08-15T11:08:44Z"
startedBeforestring

Find relations which startedAt is before given date.

Example: "2025-08-15T11:08:44Z"
classTechnicalKeystring

Filter by class technical key.

Example: "BUSINESS_PARTNER_RELATION_CLASS_LEI_HIERARCHY"
typeTechnicalKeystring

Filter by type.

Example: "LEI_DIRECT_PARENT"
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v3/businesspartners/fetchrelations \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqId": "LEI:CZ46981691"
  }'

Responses

OK

Bodyapplication/json
nextStartAfterstring(NextStartAfter)

Provides a value to be used as a startAfter in next page request.

Example: "5712566172571652"
limitinteger(Limit)

Number of items per page.

Example: "100"
totalinteger(PageTotal)

Total number of items which can be paged.

Example: "67"
valuesArray of objects(BusinessPartnerRelation)

List of Business Partner relations.

Response
application/json
{ "nextStartAfter": "5712566172571652", "limit": "100", "total": "67", "values": [ {} ] }

Fetch Batch Business Partners

Request

Retrieves the Business Partners based on the Lookup and returning the result of the multiple records.

Security
apiKey
Headers
X-DNB-USERstringDeprecated

Credentials are now stored in Data Source Settings in Cloud Apps.

Example: dnb_consumer_key
X-DNB-PASSWORDstringDeprecated

Credentials are now stored in Data Source Settings in Cloud Apps.

Example: dnb_consumer_secret
Bodyapplication/jsonrequired
cdqIdsArray of strings

List of CDQ IDs for Business Partner and address.

Example: ["VIES:DE123456789"]
featuresOnArray of strings(BusinessPartnerFetchFeaturesDesc)

List of features to be activated.

Items Enum ValueDescription
ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_DEBUG_INFO

Show additional information regarding request processing, including enabled features, request, request after curation procedure and responses from external services.

SHOW_RAW_DATA

Show raw data returned by external service.

SHOW_RAW_DATA_JSON

Show raw data returned by external service in JSON format.

FORCE_EXTERNAL_CALL

Call external service even when results from data mirrors are available.

SCREEN_BUSINESS_NAMES

Add screeningResult to the Business Partner.

SHOW_COMMERCIAL_ULTIMATE

Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

SHOW_DOMESTIC_COMMERCIAL_ULTIMATE

Fetch Domestic Commercial Ultimate from DNB. ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

DETECT_LEGAL_ENTITY

<b style="color: white; background: #077fbb; border-radius: 5px; margin-left: 0; padding: 2px 10px; font-size: 14px; vertical-align: super;">BETA</b><br>Finds out whether requested DUNS is a branch or headquarter.

ACTIVATE_DATASOURCE_BVD

Allows to use DVB datasource in golden record.

Example: ["ENABLE_SETTINGS"]
featuresOffArray of strings(BusinessPartnerFetchFeaturesDesc)

List of features to be deactivated.

Items Enum ValueDescription
ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_DEBUG_INFO

Show additional information regarding request processing, including enabled features, request, request after curation procedure and responses from external services.

SHOW_RAW_DATA

Show raw data returned by external service.

SHOW_RAW_DATA_JSON

Show raw data returned by external service in JSON format.

FORCE_EXTERNAL_CALL

Call external service even when results from data mirrors are available.

SCREEN_BUSINESS_NAMES

Add screeningResult to the Business Partner.

SHOW_COMMERCIAL_ULTIMATE

Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

SHOW_DOMESTIC_COMMERCIAL_ULTIMATE

Fetch Domestic Commercial Ultimate from DNB. ACTIVATE_DATASOURCE_DNB, ACTIVATE_MASTER_DATA_EXTENDED or ACTIVATE_MASTER_DATA_LNKG must be active if you want to calculate DNB commercial ultimate.

DETECT_LEGAL_ENTITY

<b style="color: white; background: #077fbb; border-radius: 5px; margin-left: 0; padding: 2px 10px; font-size: 14px; vertical-align: super;">BETA</b><br>Finds out whether requested DUNS is a branch or headquarter.

ACTIVATE_DATASOURCE_BVD

Allows to use DVB datasource in golden record.

Example: ["ENABLE_SETTINGS"]
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v3/businesspartners/fetch-batch \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqIds": [
      "LEI:529900IM9PTBU50P5M88L",
      "PL.NOBR:5220000080"
    ]
  }'

Responses

OK

Bodyapplication/jsonArray [
debugInfoobject(FetchDebugInfo)

Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO.

statusobject(Status)

Details about status or error of a service

cdqIdstring

Unique identifier for the Business Partner.

Example: "VIES:PL8660001429"
lastSyncAtstring

Last time the Business Partner was synchronized.

Example: "2025-08-15T11:08:44Z"
lastUpdatedAtstring

Last time the Business Partner was updated.

Example: "2025-08-15T11:08:44Z"
dataSourcestring(BusinessPartnerStorageDataSourceId)

Unique identifier for a Data Source of the Storage.

Example: "648824a691d8d2503d65103e"
dataSourceNamestring(BusinessPartnerStorageDataSourceName)

Name of a data source of a storage.

Example: "Internal customers"
businessPartnerobject(BusinessPartner)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

rawRecordArray of objects(KeyValueItem)

Raw record of the Business Partner.

rawRecordJsonobject(RawRecordJson)

Raw record returned by external service in JSON format.

businessPartnerChangesArray of objects(PropertyChange)

Changes of the Business Partner.

screeningResultobject(BusinessPartnerFetchScreeningResult)

Result of the screening process.

additionalInformationArray of objects(AdditionalInformation)

Additional information about the Business Partner.

commercialUltimateobject(CommercialUltimate)

The details of the Commercial Ultimate for the entity.

domesticCommercialUltimateobject(CommercialUltimate)

The details of the Commercial Ultimate for the entity.

legalEntityobject(BusinessPartner)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

]
Response
application/json
[ { "debugInfo": {}, "status": {}, "cdqId": "VIES:PL8660001429", "lastSyncAt": "2025-08-15T11:08:44Z", "lastUpdatedAt": "2025-08-15T11:08:44Z", "dataSource": "648824a691d8d2503d65103e", "dataSourceName": "Internal customers", "businessPartner": {}, "rawRecord": [], "rawRecordJson": {}, "businessPartnerChanges": [], "screeningResult": {}, "additionalInformation": [], "commercialUltimate": {}, "domesticCommercialUltimate": {}, "legalEntity": {} } ]

Search Business Partners

Request

Use for single queries to quickly find a Business Partner. User have to verify the results. To be used when Business Partner is not normalized e.g. Company Name and Address are in one line.

Security
apiKey
Bodyapplication/jsonrequired

cmd

querystringnon-empty

Pattern which will be used to search in multiple fields.

Example: "CDQ Lukasstrasse 4, Sankt Gallen 9000"
pageSizeinteger(PageSize)[ 1 .. 1000 ]

Number of items per page. Default 10.

Example: "10"
pageinteger(schemas-Page)>= 0

Current page number.

Default 0
Example: "1"
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v3/businesspartners/search \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "query": "CDQ, 50-078 Wrocław"
  }'

Responses

OK

Bodyapplication/json
pageSizeinteger(PageSize)[ 1 .. 1000 ]

Number of items per page. Default 10.

Example: "10"
totalsinteger(PageTotal)

Total number of items which can be paged.

Example: "67"
pageinteger(schemas-Page)>= 0

Current page number.

Default 0
Example: "1"
valuesArray of objects(BusinessPartnerSearchResultEntry)

List of Business Partners search entry.

Response
application/json
{ "pageSize": "10", "totals": "67", "page": "1", "values": [ {} ] }

Generate Golden Record

Request

Create a Business Partner's golden record by computing the matching score using data completeness. The golden record generated has the highest matching score.

Security
apiKey
Bodyapplication/jsonrequired

cmd

cdqIdstring

CDQ ID of the Golden Record.

Example: "VIES:PL1132639219"
featuresOnArray of strings(BusinessPartnerGoldenRecordFeatureEnum)

List of features to be activated.

Items ValueDescription
SHOW_FORMATTED_SAP_RECORD

Show formatted sap records in the golden record response.

Example: ["SHOW_FORMATTED_SAP_RECORD"]
configurationIdstring(ConfigurationId)

Uniquely identifies a configuration.

Example: "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/v3/businesspartners/goldenrecord \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqId": "VIES:PL1132639219",
    "featuresOn": [
      "SHOW_FORMATTED_SAP_RECORD"
    ],
    "configurationId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
  }'

Responses

OK

Bodyapplication/json
cdqIdstring

CDQ ID of the Golden Record.

Example: "VIES:PL1132639219"
matchingProfileobject(MatchingProfile)

Matching profile used for the match. It contains the matching threshold and the matching scores.

businessPartnerobject(BusinessPartner)

Refers to an organizational entity engaged in various facets of another organization's business interactions. This collaborative connection often manifests as a customer, supplier, vendor, or service provider. In the CDQ (Corporate Data Quality) framework, the Business Partner assumes a pivotal role as a core managed entity. Each Business Partner is distinctly and globally identifiable through a unique CDQ ID. All pertinent information, including addresses, identifiers, and hierarchical data, is intricately associated with and linked to the specific Business Partner, ensuring comprehensive management and traceability within the system.

metadataArray of objects(Metadata)

Metadata of the Golden Record.

businessPartnerChangesArray of objects(PropertyChange)
Response
application/json
{ "cdqId": "VIES:PL1132639219", "matchingProfile": { "matchingScores": {} }, "businessPartner": { "names": [], "legalForm": {}, "identifiers": [], "categories": [], "status": {}, "addresses": [], "externalId": "The ID managed in the customer's SAP systems.", "profile": {}, "formattedSapRecord": {}, "relations": [], "types": [], "externalContext": {}, "jsonRecord": {}, "bankAccounts": [] }, "metadata": [ {} ], "businessPartnerChanges": [ {} ] }

Fetch DNB RecordDeprecated

Request

Fetch D&B record by CDQ-ID. It is possible to read:

  • legacy CMPELK data
  • Data Blocks defined here

Fetch CMPELK

To fetch the CMPELK object no features have to be activated.

POST /dnb/businesspartners/fetch
{
  "cdqId": "DNB:123456789"
}

Fetch Data Blocks

It is possible to read pre-defined Data Blocks

Fetch pre-defined Data Blocks

There are 2 features with pre-defined data blocks:

  • ACTIVATE_MASTER_DATA_BASIC uses following data blocks:
    • COMPANYINFO_L1_V1
  • ACTIVATE_MASTER_DATA_EXTENDED uses following data blocks:
    • COMPANYINFO_L1_V1
    • COMPANYINFO_L2_V1
    • HIERARCHYCONNECTIONS_L1_V1
    • PRINCIPALSCONTACTS_L2_V2
POST /dnb/businesspartners/fetch
{
  "cdqId": "DNB:123456789",
  "featuresOn": [
    "ACTIVATE_MASTER_DATA_BASIC"
  ]
}

Fetch LNKELI

It is possible to fetch LNKELI data:

POST /dnb/businesspartners/fetch
{
  "cdqId": "DNB:123456789",
  "featuresOn": [
    "ACTIVATE_LINKAGE_LNKELI"
  ]
}
Security
apiKey
Headers
X-DNB-USERstring

Dnb Consumer Key.

Example: dnb_consumer_key
X-DNB-PASSWORDstring

Dnb Consumer Secret.

Example: dnb_consumer_key
Bodyrequired
cdqIdstring

Unique identifier for the Business Partner.

Example: "VIES:PL8660001429"
featuresOnArray of strings(DnbFetchFeature)

List of features to be activated.

Items Enum ValueDescription
ACTIVATE_MASTER_DATA_BASIC

Use basic set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_EXTENDED

Use extended set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_MGMT

Use management set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_LNKG

Use linkage set of datablocks to fetch data.

ACTIVATE_LINKAGE_LNKELI

Fetch LNKELI data.

ACTIVATE_DATASOURCE_DNB_STORAGE

Checks storage and skips call to D&B if results were found.

ACTIVATE_DATASOURCE_DNB_STORAGE_ONLY

Skips call to D&B entirely and only checks storage for results.

ENRICH_COMMERCIAL_ULTIMATE

Uses additional cmpelk calls to load whole organization hierarchy and detect global ultimate.

ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_CDQ_RECORD

Return also Dnb record mapped to cdq model.

Example: ["ACTIVATE_MASTER_DATA_BASIC"]
featuresOffArray of strings(DnbFetchFeature)

List of features to be deactivated.

Items Enum ValueDescription
ACTIVATE_MASTER_DATA_BASIC

Use basic set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_EXTENDED

Use extended set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_MGMT

Use management set of datablocks to fetch data.

ACTIVATE_MASTER_DATA_LNKG

Use linkage set of datablocks to fetch data.

ACTIVATE_LINKAGE_LNKELI

Fetch LNKELI data.

ACTIVATE_DATASOURCE_DNB_STORAGE

Checks storage and skips call to D&B if results were found.

ACTIVATE_DATASOURCE_DNB_STORAGE_ONLY

Skips call to D&B entirely and only checks storage for results.

ENRICH_COMMERCIAL_ULTIMATE

Uses additional cmpelk calls to load whole organization hierarchy and detect global ultimate.

ENABLE_SETTINGS

Apply rules stored in organizational settings during curation.

SHOW_CDQ_RECORD

Return also Dnb record mapped to cdq model.

Example: ["ACTIVATE_MASTER_DATA_BASIC"]
curl -i -X POST \
  https://api.cdq.com/referencedata/rest/dnb/businesspartners/fetch \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "cdqId": "VIES:PL8660001429",
    "featuresOn": [
      "ACTIVATE_MASTER_DATA_BASIC"
    ],
    "featuresOff": [
      "ACTIVATE_MASTER_DATA_BASIC"
    ]
  }'

Responses

OK

Body
cmpelkV2object(CmpelkV2)

The details of the entity.

dataBlockobject(DataBlock)

A data block is a collection of data elements that are logically grouped together. Enables you to retrieve data on a specific entity or category.

lnkeliobject(CmpelkV2)

The details of the entity.

commercialUltimateobject(CommercialUltimate)

The details of the Commercial Ultimate for the entity.

cdqRecordobject(schemas-BusinessPartner)

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.

cdqCommercialUltimateobject(schemas-BusinessPartner)

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.

legalEntityobject(DataBlock)

A data block is a collection of data elements that are logically grouped together. Enables you to retrieve data on a specific entity or category.

statusstring

status:

  • OK - Service returned a correct response
  • FAILED - Call to external service failed
  • INVALID_INPUT - Given input parameter is invalid or entry not found
  • AUTHORIZATION_FAILED - Authorization to external service does not succeed
  • EXTERNAL_QUOTA_EXCEEDED - External service quota is exceeded. Not applies to CDQ quota.
Example: "OK"
messagestring

Message providing additional information about the status of the D&B fetch.

Example: "Service returned a correct response"
Response
{ "cmpelkV2": { "transactionDetail": {}, "inquiryDetail": {}, "organization": {} }, "dataBlock": { "transactionDetail": {}, "inquiryDetail": {}, "blockStatus": [], "organization": {} }, "lnkeli": { "transactionDetail": {}, "inquiryDetail": {}, "organization": {} }, "commercialUltimate": { "duns": "804735132", "primaryName": "Acme Corporation", "primaryAddress": {}, "path": [], "cmpelkV2": {}, "dataBlock": {} }, "cdqRecord": { "names": [], "legalForm": {}, "identifiers": [], "categories": [], "status": {}, "addresses": [], "externalId": "The ID managed in the customer's SAP systems.", "profile": {}, "formattedSapRecord": {}, "relations": [], "bankAccounts": [], "types": [], "externalContext": {} }, "cdqCommercialUltimate": { "names": [], "legalForm": {}, "identifiers": [], "categories": [], "status": {}, "addresses": [], "externalId": "The ID managed in the customer's SAP systems.", "profile": {}, "formattedSapRecord": {}, "relations": [], "bankAccounts": [], "types": [], "externalContext": {} }, "legalEntity": { "transactionDetail": {}, "inquiryDetail": {}, "blockStatus": [], "organization": {} }, "status": "OK", "message": "Service returned a correct response" }

Analytics

Everything about reference data analytics

Registrations

Registrations

Addresses

Everything about Addresses

Bulk Fetch

Operations

Bulk Lookup

Operations

Cancel Bulk

Operations

Batch Lookup

Operations

Configurations

Operations

Configuration

Operations