This API provides services to search and read reference data
Referencedata API (4)
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/
https://api.corporate-data-league.ch/referencedata/soap/v4/
https://api.corporate-data-league.ch/referencedata/
cmd
The storage ID for which the batch lookup should be done.
The report name. If a report with that name exists in S3 it will be overwritten. If report name is empty the report name will be the storage ID.
Provide the ID of batch lookup job which produced the matches. Providing this option make sens with optionSkipLookup set to true.
The matching threshold. When not set then all entries are taken into consideration.
The matching threshold used to filter out results in report.
Define number of candidates taken into consideration in the matching process.
Provide the name of the matching configuration. When not set then the default configuration is used.
Provide the id of the data matching definition id. When id wrongly set then no matching score will be provided.
Add a delay between next lookup calls in milliseconds (example 3000 = 3s).
If set, only the records that belong to the data sources identified by these IDs are processed. By default, all records of the storage (means from all data sources) are processed (considering other filters).
If set, only the records that belong to the countries identified by these short names are processed. By default, all records of the storage (means from all countries) are processed (considering other filters).
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):
dataSourcedataMatchingDefinitionIdmatchingThresholdmaxCandidatespageSizefeaturesOnfeaturesOff
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.
The features with which the lookup should be called.
The features switched off in the lookup.
- Mock server
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/lookupjobs
- Production SOAP
https://api.corporate-data-league.ch/referencedata/soap/v4/public/lookupjobs
- Production
https://api.corporate-data-league.ch/referencedata/public/lookupjobs
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/lookupjobs \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"optionReportName": "MyReport",
"optionSkipLookup": "false",
"optionBatchLookupJobId": "35f23c03-1c22-45fe-9484-3ffe769325de",
"optionSkipExcelReport": "true",
"optionShowAll": "true",
"optionMatchingThreshold": "0.8",
"optionReportMatchingThreshold": "0.8",
"optionCandidates": "15",
"optionMatchingConfiguration": "DEFAULT",
"optionDataMatchingDefinitionId": "6461e6113b1865304b3038b6",
"optionDelay": "3000",
"dataSourceIds": [
"648824a691d8d2503d65103e"
],
"countryShortNames": [
"CH"
],
"configurationId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4",
"processingLog": {
"id": "OVERLAP_LOG",
"trigger": {
"type": "INITIALIZED",
"provenance": {
"technicalKey": "VIES",
"cdqId": "VIES:PL8660001429"
},
"details": {
"value": "123"
}
},
"replyQueue": "647328648329632-34890742-3432"
},
"storagesDataSources": [
{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"dataSources": [
"648824a691d8d2503d65103e"
]
}
],
"featuresOn": [
"ACTIVATE_DATASOURCE_BVD"
],
"featuresOff": [
"ACTIVATE_DATASOURCE_BVD"
]
}'OK
Unique identifier of the Storage.
Job execution status.
| Enum Value | Description |
|---|---|
| UNKNOWN | Job becomes in unknown status. |
| CREATED | Job has been created. |
| PERSISTED | Job metadata has been persisted. |
| SCHEDULED | Job has been scheduled for execution. |
| WAITING | Job is waiting for being scheduled. |
| COULDNT_START | Job could not be started. |
| RUNNING | Job is being executed. |
| FINISHED | Job has finished. |
| DIED | Job has died due to unhandled exceptions. |
| CANCELED | Job has been canceled due to invalid input configuration. |
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "status": "RUNNING", "createdAt": "2020-08-31T16:47+00:00", "user": "johndoe", "progress": "77" }
- Mock server
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/lookupjobs/{id}
- Production SOAP
https://api.corporate-data-league.ch/referencedata/soap/v4/public/lookupjobs/{id}
- Production
https://api.corporate-data-league.ch/referencedata/public/lookupjobs/{id}
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/lookupjobs/cbed7ac6-a97d-4c23-9060-2a88fa660957 \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'OK
Unique identifier of the Storage.
Job execution status.
| Enum Value | Description |
|---|---|
| UNKNOWN | Job becomes in unknown status. |
| CREATED | Job has been created. |
| PERSISTED | Job metadata has been persisted. |
| SCHEDULED | Job has been scheduled for execution. |
| WAITING | Job is waiting for being scheduled. |
| COULDNT_START | Job could not be started. |
| RUNNING | Job is being executed. |
| FINISHED | Job has finished. |
| DIED | Job has died due to unhandled exceptions. |
| CANCELED | Job has been canceled due to invalid input configuration. |
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "status": "RUNNING", "createdAt": "2020-08-31T16:47+00:00", "user": "johndoe", "progress": "77" }
Business Partner IDs which should be filtered.
Pagination cursor which should be filled with nextStartAfter value provided in the previous page read response.
- Mock server
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs/{id}/results
- Production SOAP
https://api.corporate-data-league.ch/referencedata/soap/v4/public/dnb/lookupjobs/{id}/results
- Production
https://api.corporate-data-league.ch/referencedata/public/dnb/lookupjobs/{id}/results
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs/cbed7ac6-a97d-4c23-9060-2a88fa660957/results \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "limit": "100", "total": "67", "values": [ { … } ] }
cmd
Unique identifier of the Storage.
Optional if credentials are available in user or organization settings.
Optional if credentials are available in user or organization settings.
MATCH contains just the match results while EXTENDED_MATCH also includes D&B products (attention increased costs)
List of features to be activated in the lookup.
| Items Enum Value | Description |
|---|---|
| INCREMENT | Continue processing after the last processed result with a goal to run on newly created business partners from a storage. |
| ENABLE_PARTIAL_QUOTA_CONSUMPTION | Enables to run import job on a remaining quota when full quota not available. |
| ACTIVATE_MASTER_DATA_EXTENDED | Enables to use data blocks instead of cmplek when fetching data from DNB. |
| SKIP_DNB_IMPORT | If it is not used, all DUNS will be fetched from DNB. Should be used in combination with ENRICH_COMMERCIAL_ULTIMATE to only load what is needed for commercial ultimate calculation. |
| ENRICH_COMMERCIAL_ULTIMATE | Calculate commercial ultimate for each business partner in storage. |
List of features to be deactivated in the lookup.
| Items Enum Value | Description |
|---|---|
| INCREMENT | Continue processing after the last processed result with a goal to run on newly created business partners from a storage. |
| ENABLE_PARTIAL_QUOTA_CONSUMPTION | Enables to run import job on a remaining quota when full quota not available. |
| ACTIVATE_MASTER_DATA_EXTENDED | Enables to use data blocks instead of cmplek when fetching data from DNB. |
| SKIP_DNB_IMPORT | If it is not used, all DUNS will be fetched from DNB. Should be used in combination with ENRICH_COMMERCIAL_ULTIMATE to only load what is needed for commercial ultimate calculation. |
| ENRICH_COMMERCIAL_ULTIMATE | Calculate commercial ultimate for each business partner in storage. |
D&B name of the product to be used in the job.
| Enum Value | Description |
|---|---|
| DNB | D&B Master Data |
| DNB_MASTER_DATA_BASIC | D&B Master Data Basic |
| DNB_MASTER_DATA_PLUS_MGMT | D&B Master Data Plus Management |
| DNB_MASTER_DATA_PLUS_LINKAGE | D&B Master Data Plus Linkage |
| DNB_MASTER_DATA_EXTENDED | D&B Master Data Extended |
| DNB_LINKAGE_LNKELI | D&B Linkage LNKELI |
- Mock server
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs
- Production SOAP
https://api.corporate-data-league.ch/referencedata/soap/v4/public/dnb/lookupjobs
- Production
https://api.corporate-data-league.ch/referencedata/public/dnb/lookupjobs
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"dnbUser": "myDnbUser",
"dnbPassword": "myDnbPassword",
"mode": "EXTENDED_MATCH",
"featuresOn": [
"INCREMENT"
],
"featuresOff": [
"INCREMENT"
],
"dnbDataSource": "DNB_MASTER_DATA_EXTENDED",
"dataSources": [
"648824a691d8d2503d65103e"
]
}'OK
Unique identifier of the Storage.
Job execution status.
| Enum Value | Description |
|---|---|
| UNKNOWN | Job becomes in unknown status. |
| CREATED | Job has been created. |
| PERSISTED | Job metadata has been persisted. |
| SCHEDULED | Job has been scheduled for execution. |
| WAITING | Job is waiting for being scheduled. |
| COULDNT_START | Job could not be started. |
| RUNNING | Job is being executed. |
| FINISHED | Job has finished. |
| DIED | Job has died due to unhandled exceptions. |
| CANCELED | Job has been canceled due to invalid input configuration. |
Date of modification (ISO 8601-compliant).
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "status": "RUNNING", "createdAt": "2020-08-31T16:47+00:00", "createdBy": "76248934691294444", "progress": "77", "result": { "statistics": { … } }, "modifiedAt": "2020-08-31T16:47+00:00", "statusMessage": "The job failed because storage is empty." }
- Mock server
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs/{id}
- Production SOAP
https://api.corporate-data-league.ch/referencedata/soap/v4/public/dnb/lookupjobs/{id}
- Production
https://api.corporate-data-league.ch/referencedata/public/dnb/lookupjobs/{id}
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/referencedata-api/api-v4/public/dnb/lookupjobs/cbed7ac6-a97d-4c23-9060-2a88fa660957 \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'OK
Unique identifier of the Storage.
Job execution status.
| Enum Value | Description |
|---|---|
| UNKNOWN | Job becomes in unknown status. |
| CREATED | Job has been created. |
| PERSISTED | Job metadata has been persisted. |
| SCHEDULED | Job has been scheduled for execution. |
| WAITING | Job is waiting for being scheduled. |
| COULDNT_START | Job could not be started. |
| RUNNING | Job is being executed. |
| FINISHED | Job has finished. |
| DIED | Job has died due to unhandled exceptions. |
| CANCELED | Job has been canceled due to invalid input configuration. |
Date of modification (ISO 8601-compliant).
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "status": "RUNNING", "createdAt": "2020-08-31T16:47+00:00", "createdBy": "76248934691294444", "progress": "77", "result": { "statistics": { … } }, "modifiedAt": "2020-08-31T16:47+00:00", "statusMessage": "The job failed because storage is empty." }