This API provides services to upload, manipulate and download businesspartner data in the CDL Cloud.
Data Exchange API (5)
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/
https://api.corporate-data-league.ch/data-exchange/soap/v5/
https://api.corporate-data-league.ch/data-exchange/
Request
Note: This endpoint is not yet operational and only used for pre-documentation purposes.
Example Response:
{
"values": [
{
"businessPartner": {
"id": "123456",
"externalId": "EXTID-86",
...,
"record": "{<JSON>}"
},
"changeSet": [
{
"modifiedAt": "2007-08-31T16:47",
"propertyChanges": [
{
"newContent": "AAB",
"previousContent": "XYZ",
"changeType": "MODIFIED",
"changeClassification": "MAJOR",
"provenance": {
"name": "Supplier Gateway",
"technicalKey": "SGW"
},
"property": {
"name": "Minority Indicator Value",
"contentSelector": "$.profile.minorityIndicator.value",
"technicalKey": "MINORITY_INDICATOR_VALUE"
"parentConcept": {
"name": "Minority Indicator",
"technicalKey": "MINORITY_INDICATOR"
}
}
},
{
"newContent": "CDQ AG",
"previousContent": "CDQ",
"changeType": "MODIFIED",
"changeClassification": "MAJOR",
"property": {
"name": "Name Value",
"contentSelector": "$.names[type.technicalKey=LOCAL].value",
"technicalKey": "NAME_VALUE"
"parentConcept": {
"name": "Name",
"technicalKey": "NAME"
},
"instanceSelectors": [
{
"key": "type.technicalKey",
"value": "LOCAL"
}
]
}
}
]
}
]
}
]
}Only items with an ID greater than the given one will be retrieved.
When nextStartAfter provided in the response, should be used instead of the ID as an indicator for a next page.
Only show updates which affect these concepts
| Items Enum Value | Description |
|---|---|
| NAME | Name of the Business Partner. |
| IDENTIFIER | Identifier of the Business Partner. |
| LEGAL_FORM | Legal form of the Business Partner. |
| MINORITY_INDICATOR | Minority indicator of the Business Partner. |
| STATUS | Status of the Business Partner. |
| ADDRESS | Address of the Business Partner. |
| COUNTRY | Country of the Business Partner. |
| ADMINISTRATIVE_AREA | Administrative area of the Business Partner. |
| POST_CODE | Post code of the Business Partner. |
| LOCALITY | Locality of the Business Partner. |
Only show updates which affect these properties
| Items Enum Value | Description |
|---|---|
| NAME_VALUE | Value of Name of the Business Partner. |
| IDENTIFIER_VALUE | Value of Identifier of the Business Partner |
| MINORITY_INDICATOR_VALUE | Value of Minority indicator of the Business Partner. |
| ADMINISTRATIVE_AREA_VALUE | Value of Administrative area of the Business Partner. |
| LOCALITY_VALUE | Value of Locality of the Business Partner. |
| POST_CODE_VALUE | Value of Post code of the Business Partner. |
| THOROUGHFARE_VALUE | Value of Thoroughfare of the Business Partner. |
| THOROUGHFARE_NUMBER | Thoroughfare number of the Business Partner. |
| BUSINESS_PARTNER_STATUS_TYPE | Status of the Business Partner. |
| LEGAL_FORM_NAME | Legal form of the Business Partner. |
Only show updates which have been modified after this ISO date.
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/cdqpool/businesspartners/updates
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/v4/cdqpool/businesspartners/updates
- Production
https://api.corporate-data-league.ch/data-exchange/v4/cdqpool/businesspartners/updates
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/cdqpool/businesspartners/updates \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "limit": "100", "total": "67", "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "values": [ { … } ] }
cmd
The threshold for the data matching.
List of Data Sources.
Lookup business partner data in connected data sources like the CDQ Community Data Pool, Business registers, or even in the own data mirror.
Features to be used during the fetch Business Partner.
| Items Enum Value | Description |
|---|---|
| FETCH_RECORD | Allows to switch fetching record field to reduce data size. By default, turned on. |
| FETCH_RELATIONS | Allows to switch fetching relations of Business Partners. By default, deactivated. Only for storages with RELATIONS feature activated. |
Features to be excluded during the fetch Business Partner.
| Items Enum Value | Description |
|---|---|
| FETCH_RECORD | Allows to switch fetching record field to reduce data size. By default, turned on. |
| FETCH_RELATIONS | Allows to switch fetching relations of Business Partners. By default, deactivated. Only for storages with RELATIONS feature activated. |
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/cdqpool/businesspartners/lookup
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/v4/cdqpool/businesspartners/lookup
- Production
https://api.corporate-data-league.ch/data-exchange/v4/cdqpool/businesspartners/lookup
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/cdqpool/businesspartners/lookup \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"matchingThreshold": "0.5",
"pageSize": "100",
"page": "1",
"dataSources": [
"\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\""
],
"businessPartner": {
"externalId": "The ID managed in the customer'\''s SAP systems.",
"record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
"names": [
{
"value": "Corporate Data Quality AG"
}
],
"identifiers": [
{
"value": "CHE-218.608.886 HR/MWST",
"type": {
"technicalKey": "CH_VAT_ID"
}
}
],
"legalForm": {
"name": "Aktiengesellschaft"
},
"addresses": [
{
"country": {
"shortName": "CH"
},
"administrativeAreas": [
{
"value": "Sankt Gallen"
}
],
"localities": [
{
"value": "Sankt Gallen"
}
],
"postCodes": [
{
"value": "9000"
}
],
"thoroughfares": [
{
"value": "Lukasstraße 4",
"number": "4"
}
]
}
],
"externalContext": {
"identifiers": [
{
"value": "7250017031",
"type": {
"technicalKey": "KUNNR"
}
}
]
},
"profile": {
"tags": [
{
"value": "Warehouse",
"type": {
"technicalKey": "WAREHOUSE"
}
}
]
}
},
"featuresOn": [
"FETCH_RECORD"
],
"featuresOff": [
"FETCH_RECORD"
]
}'{ "pageSize": "100", "total": "67", "page": "1", "values": [ { … } ], "debugInfo": { "features": [ … ], "request": { … } } }