To start a D&B Import Job use the following request
curl -X POST \
--url 'https://api.corporate-data-league.ch/data-exchange/rest/jobs/dnbimportjobs?dnbUser=optional&dnbPassword=optional' \
-u 'BasicAuthUserName:your_credentials'\
-H 'Accept: application/json' \
-F 'file=@your_file.csv'
with using this sample file:
DUNS
305211311
DNB:305211311
The file can be a csv
or xlsx
. The file should contain only one column with the DUNS number.
In the first row should the header DUNS
. The DUNS number can be in following forms:
DNB:305211311
305211311
The DUNS consist of 9 digits. When the input DUNS does not consist of 9 digits, leading zeros are added.
OK
The sent request is malformed.
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "Job is running",
- "createdBy": "76248934691294444",
- "createdAt": "2025-04-25T09:09:11Z",
- "modifiedAt": "2025-04-25T09:09:11Z",
- "result": {
- "statistics": {
- "numberOfRecords": "500",
- "numberOfDuplicates": "5",
- "numberOfInserts": "100",
- "numberOfUpdates": "100",
- "numberOfFailed": "50",
- "numberOfQuotaExceeded": "100",
- "numberOfUnknown": "100"
}
}
}