Skip to content

Data Exchange API (5)

This API provides services to upload, manipulate and download businesspartner data in the CDL Cloud.

Languages
Servers
Mock server

https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/

Production SOAP

https://api.corporate-data-league.ch/data-exchange/soap/v5/

Production

https://api.corporate-data-league.ch/data-exchange/

Seed Updates

Manages operations such as creating, updating, or transforming Business Partner data to ensure that the information is current and accurate.

Operations

Analytics

Provides functionalities for analyzing and processing Business Partner data, enabling users to gain insights and perform various analytical operations on the data.

Business Partner Storages

Provides functionalities for creating, retrieving, updating and deleting Business Partner storage, as well as managing associated data sources and data monitors.

Operations

Business Partners

Provides functionalities for creating, retrieving, updating, and deleting Business Partner records, as well as performing various operations such as lookup and upsert.

Operations

Data Import

Provides functionalities for uploading external data and enabling users to enhance and update their Business Partner records with new information.

Operations

Data Mapping

Provides functionalities for defining and managing data mappings, enabling users to transform and map raw data into structured formats suitable for processing and analysis.

Operations

Data Monitors

Provides functionalities for creating, retrieving, updating and deleting data monitors.

Operations

Data Transformation

Provides functionalities for converting raw data into structured formats.

Operations

DNB Storages

Provides functionalities for creating, retrieving, updating and deleting DNB storage, as well as managing associated data sources and data monitors.

Operations

Files

Provides functionalities for uploading, downloading and deleting files.

Operations

Subscriptions

Provides functionalities for managing subscriptions.

Operations

Data Mappers

Provides functionalities for transforming raw data into structured Business Partner data using predefined data mapper definitions. This allows users to convert various data formats into a standardized format suitable for processing and analysis.

Operations

Relations

Manages relationships between Business Partners.

Operations

Update Classification

Operations

Event Stores

Operations

Business Partner Storages (None Public)

Operations

Restart Monitor Job

Operations

Start Restart Monitor Job

Request

Restart monitor storage, e.g. CDQ.POOL.

Performs:

  • full restart (RESTART feature)
  • duplicates removal (REMOVE_DUPLICATES feature)
  • removing BPs with data defects from cdq pool (REMOVE_HAVING_DATA_DEFECTS feature, DATA_DEFECTS for test run without removing)
Security
basicAuth
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take form of:

  • username (e.g. "lukaszmichta")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
Bodyapplication/jsonrequired
storageIdstring(BusinessPartnerStorageId)

Unique identifier of the Storage.

Example: "72d6900fce6b326088f5d9d91049e3e6"
duplicationJobIdstring(JobId)

Unique identifier of a job.

Example: "35f23c03-1c22-45fe-9484-3ffe769325de"
validationJobIdstring(JobId)

Unique identifier of a job.

Example: "35f23c03-1c22-45fe-9484-3ffe769325de"
featuresOnArray of strings(RestartMonitorJobFeatureParam)

Features to be activated during the Restart Monitor job.

Items Enum ValueDescription
CDQ_POOL

Points to CDQ.POOL.

RESTART

Performs restart on pointed sharing pool.

REMOVE_DUPLICATES

Removes duplicates based on provided deduplication job as input.

DATA_DEFECTS

Test run for REMOVE_HAVING_DATA_DEFECTS.

REMOVE_HAVING_DATA_DEFECTS

Removes BPs with data defects from cdq pool.

Example: ["CDQ_POOL"]
limitinteger(Limit)

Number of items per page.

Example: "100"
curl -i -X POST \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/restartmonitorjobs \
  -H 'Content-Type: application/json' \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
  -d '{
    "storageId": "72d6900fce6b326088f5d9d91049e3e6",
    "duplicationJobId": "35f23c03-1c22-45fe-9484-3ffe769325de",
    "validationJobId": "35f23c03-1c22-45fe-9484-3ffe769325de",
    "featuresOn": [
      "CDQ_POOL"
    ],
    "limit": "100"
  }'

Responses

OK

Bodyapplication/json
monitorStorageCleanupJobobject(MonitorStorageCleanupJob)

Result of Monitor Storage Cleanup job.

sharingJobobject(SharingJob)

Result of Sharing job.

Response
application/json
{ "monitorStorageCleanupJob": { "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" }, "sharingJob": { "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" } }

Start Storage Sharing Job

Request

Endpoint that should not be exposed. Only a helper for development.

Security
basicAuth
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take form of:

  • username (e.g. "lukaszmichta")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
Bodyapplication/jsonrequired
storageIdstring(BusinessPartnerStorageId)required

Unique identifier of the Storage.

Example: "72d6900fce6b326088f5d9d91049e3e6"
disclosebooleanrequired

Toggle Sharing Scope Disclosure.

When 'True' is checked, all data sources and shared Business Partners are disclosed. When 'False' is checked, all Business Partners with disclosure are removed.

Example: "true"
startAfterstring

The ID which is used to read the page.

Example: "5712566172571652"
limitinteger

Determines how many elements are allowed to be processed at all. Currently, deactivated.

Example: "100"
businessPartnerIdsArray of strings(BusinessPartnerId)

List of Business Partner IDs.

Example: ["63e635235c06b7396330fe40"]
dataSourceIdsArray of strings(BusinessPartnerStorageDataSourceId)

List of Data Sources IDs.

Example: ["648824a691d8d2503d65103e"]
countryShortNamesArray of strings(CountryShortName)

List of Country Short Names.

Example: ["CH"]
sharingStatusesArray of strings

List of Business Partner Sharing Statuses.

Example: ["SHARED_WITH_NO_MATCH"]
curl -i -X POST \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/storagesharingjobs \
  -H 'Content-Type: application/json' \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
  -d '{
    "storageId": "72d6900fce6b326088f5d9d91049e3e6",
    "disclose": "true",
    "startAfter": "5712566172571652",
    "limit": "100",
    "businessPartnerIds": [
      "63e635235c06b7396330fe40"
    ],
    "dataSourceIds": [
      "648824a691d8d2503d65103e"
    ],
    "countryShortNames": [
      "CH"
    ],
    "sharingStatuses": [
      "SHARED_WITH_NO_MATCH"
    ]
  }'

Responses

OK

Bodyapplication/json
idstring(JobId)

Unique identifier of a job.

Example: "35f23c03-1c22-45fe-9484-3ffe769325de"
progressinteger(JobProgress)[ 0 .. 100 ]

Progress (%) of the job.

Example: "77"
statusstring(JobStatus)

Job execution status.

Enum ValueDescription
ARCHIVED

Job has been archived.

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 was scheduled and started running but died unexpectedly.

Example: "RUNNING"
statusMessagestring(JobStatusMessage)

Additional information to explain the status.

Example: "The job failed because storage is empty."
storageIdstring(BusinessPartnerStorageId)

Unique identifier of the Storage.

Example: "72d6900fce6b326088f5d9d91049e3e6"
createdBystring(CreatedBy)

Creator of a resource.

Example: "76248934691294444"
createdAtstring(CreatedAt)

Date of creation (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modifiedAtstring(ModifiedAt)

Date of modification (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
Response
application/json
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" }

Cache

Operations

Configuration

Operations

Event Store

Operations

CDQ Community Pool

Operations