This API provides services to search and read reference data
Referencedata API (3)
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/
https://api.cdq.com/referencedata/rest/
List of features to be activated.
Items Enum Value | Description |
---|---|
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 |
SHOW_COMMERCIAL_ULTIMATE | Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). |
SHOW_DOMESTIC_COMMERCIAL_ULTIMATE | Fetch Domestic Commercial Ultimate from DNB. |
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. |
List of features to be deactivated.
Items Enum Value | Description |
---|---|
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 |
SHOW_COMMERCIAL_ULTIMATE | Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). |
SHOW_DOMESTIC_COMMERCIAL_ULTIMATE | Fetch Domestic Commercial Ultimate from DNB. |
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. |
The matching threshold for compliance screening. If set and a fetch result is not above threshold, it will not be returned.
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
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetch
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/fetch
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetch \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"cdqId": "VIES:CZ46981691"
}'
OK
Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO
.
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.
Additional information regarding results.
Unique identifier for a Data Source of the Storage.
Name of a data source of a storage.
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.
The details of the Commercial Ultimate for the entity.
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.
{ "cdqId": "VIES:CZ46981691", "dataSource": "VIES", "businessPartner": { "names": [ … ], "identifiers": [ … ], "categories": [], "addresses": [ … ], "formattedSapRecord": { … }, "types": [] } }
Find relations which startedAt is after given date.
Find relations which startedAt is before given date.
Filter by class technical key.
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetchrelations
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/fetchrelations
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetchrelations \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"cdqId": "LEI:CZ46981691"
}'
{ "nextStartAfter": "5712566172571652", "limit": "100", "total": "67", "values": [ { … } ] }
List of CDQ IDs for Business Partner and address.
List of features to be activated.
Items Enum Value | Description |
---|---|
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 |
SHOW_COMMERCIAL_ULTIMATE | Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). |
SHOW_DOMESTIC_COMMERCIAL_ULTIMATE | Fetch Domestic Commercial Ultimate from DNB. |
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. |
List of features to be deactivated.
Items Enum Value | Description |
---|---|
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 |
SHOW_COMMERCIAL_ULTIMATE | Fetch Global Commercial Ultimate from BvD or DNB (depending on selected datasource). |
SHOW_DOMESTIC_COMMERCIAL_ULTIMATE | Fetch Domestic Commercial Ultimate from DNB. |
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. |
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetch-batch
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/fetch-batch
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/fetch-batch \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"cdqIds": [
"LEI:529900IM9PTBU50P5M88L",
"PL.NOBR:5220000080"
]
}'
OK
Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO
.
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.
Additional information regarding results.
Unique identifier for a Data Source of the Storage.
Name of a data source of a storage.
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.
The details of the Commercial Ultimate for the entity.
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.
[ { "debugInfo": { … }, "status": "OK", "message": "Given input parameter is invalid or entry not found.", "cdqId": "VIES:PL8660001429", "lastSyncAt": "2025-09-12T14:57:59Z", "lastUpdatedAt": "2025-09-12T14:57:59Z", "dataSource": "648824a691d8d2503d65103e", "dataSourceName": "Internal customers", "businessPartner": { … }, "rawRecord": [ … ], "rawRecordJson": {}, "mappedRecord": { … }, "businessPartnerChanges": [ … ], "screeningResult": { … }, "additionalInformation": [ … ], "commercialUltimate": { … }, "domesticCommercialUltimate": { … }, "legalEntity": { … } } ]
Request
Perform a comprehensive Business Partner lookup across all accessible Data Sources. This endpoint offers a simplified HTTP GET method for conducting the lookup. However, it only offers a limited set of default features. For the complete range of features, it is recommended to utilize the HTTP POST version.
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/lookup
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/lookup
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/lookup \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
OK
Provides a value to be used as a startAfter in next page request.
Represent a Business Partner record with the highest matching score based on data completeness.
Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO
.
{ "pageSize": "10", "totals": "67", "page": "1", "limit": "100", "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "values": [ { … } ], "goldenRecord": { "cdqId": "VIES:PL1132639219", "matchingProfile": { … }, "businessPartner": { … }, "mappedRecord": { … }, "metadata": [ … ], "businessPartnerChanges": [ … ] }, "debugInfo": { "features": [ … ], "request": { … }, "curatedRequest": { … }, "externalServiceResponses": [ … ] }, "annotations": [ { … } ] }
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.
cmd
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.
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.
Matching threshold for the lookup. Default 0.5.
Maximum number of candidates to be returned. Default 10.
The features to be activated.
Items Enum Value | Description |
---|---|
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. |
The features to be deactivated.
Items Enum Value | Description |
---|---|
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. |
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
The data matching definition ID to be used for the lookup. If set, it will overwrite the default data matching definition. If not set, the default data matching definition will be used.
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/lookup
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/lookup
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/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"
}
}
]
}
}'
OK
Provides a value to be used as a startAfter in next page request.
Represent a Business Partner record with the highest matching score based on data completeness.
Reference implementation how to structure external service responses. Can be activated by a feature SHOW_DEBUG_INFO
.
{ "pageSize": 10, "totals": 2, "page": 0, "limit": 10, "startAfter": "RVtH+Q==", "nextStartAfter": "RVtH8w==", "values": [ { … }, { … } ] }
cmd
Pattern which will be used to search in multiple fields.
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/search
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/search
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/search \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"query": "CDQ, 50-078 Wrocław"
}'
{ "pageSize": "10", "totals": "67", "page": "1", "values": [ { … } ] }
cmd
List of features to be activated.
Items Value | Description |
---|---|
SHOW_FORMATTED_SAP_RECORD | Show formatted sap records in the golden record response. |
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/v3/businesspartners/goldenrecord
- Production
https://api.cdq.com/referencedata/rest/v3/businesspartners/goldenrecord
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/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"
}'
OK
Matching profile used for the match. It contains the matching threshold and the matching scores.
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.
{ "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": [ … ] }, "mappedRecord": { "attributes": [ … ] }, "metadata": [ { … } ], "businessPartnerChanges": [ { … } ] }
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/sgw/businesspartners
- Production
https://api.cdq.com/referencedata/rest/sgw/businesspartners
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/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-09-12T14:57:59Z",
"ExpirationDate": "2025-09-12T14:57:59Z",
"Attachments": {
"Title": "Certificate Document",
"Url": "https://example.com/certificate.pdf"
}
}
]
}
}'
{ "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-09-12T14:57:59Z", "SBASDB": "Yes", "Hub": "Yes", "HubExp": "2025-09-12T14:57:59Z", "Validated": "Yes", "Preg": "PREG12345", "PregStart": "2025-09-12T14:57:59Z", "PregComp": "2025-09-12T14:57:59Z", "PregStat": "Completed", "Mospnd18": "MOSPND12345", "Moamt18": "MOAMT12345", "MasterSupplierNo": "MSUP12345", "Tier2Required": "Yes", "Categories": [ … ], "Ethnicities": [ … ], "Certifications": [ … ], "Banks": [ … ] } }
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/sgw/businesspartners/fetch
- Production
https://api.cdq.com/referencedata/rest/sgw/businesspartners/fetch
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/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"
]
}'
successful operation
- application/json
- application/xml
A gateway for a supplier.
Provides information such as:
- status,
- contact details,
- certifications,
- bank information,
- business categories.
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.
{ "cdqId": "VIES:DE119267630", "supplierGateway": { "Code": "200", "Message": "Supplier gateway successfully created", "Supplier": { … } }, "minorityIndicator": { "value": "Social enterprise" } }
Request
Fetch D&B record by CDQ-ID. It is possible to read:
- legacy CMPELK data
- Data Blocks defined here
To fetch the CMPELK object no features have to be activated.
POST /dnb/businesspartners/fetch
{
"cdqId": "DNB:123456789"
}
It is possible to read 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"
]
}
It is possible to fetch LNKELI data:
POST /dnb/businesspartners/fetch
{
"cdqId": "DNB:123456789",
"featuresOn": [
"ACTIVATE_LINKAGE_LNKELI"
]
}
- application/json
- application/xml
List of features to be activated.
Items Enum Value | Description |
---|---|
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. |
List of features to be deactivated.
Items Enum Value | Description |
---|---|
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. |
- Mock server
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/dnb/businesspartners/fetch
- Production
https://api.cdq.com/referencedata/rest/dnb/businesspartners/fetch
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/referencedata-api/api-v3/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"
]
}'
OK
- application/json
- application/xml
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.
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.
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.
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.
status:
OK
- Service returned a correct responseFAILED
- Call to external service failedINVALID_INPUT
- Given input parameter is invalid or entry not foundAUTHORIZATION_FAILED
- Authorization to external service does not succeedEXTERNAL_QUOTA_EXCEEDED
- External service quota is exceeded. Not applies to CDQ quota.
Message providing additional information about the status of the D&B fetch.
{ "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", "relations": [ "123456789" ] }