This API provides services to upload, manipulate and download businesspartner data in the CDL Cloud.
Data Exchange API (5)
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/
https://api.cdq.com/data-exchange/rest/
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/{storageId}/relations
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/72d6900fce6b326088f5d9d91049e3e6/relations \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
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.
Features to be activated during Relations read.
Items Value | Description |
---|---|
SHOW_BUSINESS_PARTNER_INFORMATION | Allows to switch fetching business partner details to improve performance. By default, turned on. |
Features to be deactivated during Relations read.
Items Value | Description |
---|---|
SHOW_BUSINESS_PARTNER_INFORMATION | Allows to switch fetching business partner details to improve performance. By default, turned on. |
Business Partner externalIDs.
Data Source (name or ID) used to filter the result of Business Partner Relations returned.
Filter by type.
Filter by class technical key. List of available (classes)[https://meta.cdq.com/Business_partner/relation/class].
Find relations which endedAt is after given date.
Find relations which endedAt is before given date.
Find relations which startedAt is after given date.
Find relations which startedAt is before given date
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/{storageId}/relations
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/72d6900fce6b326088f5d9d91049e3e6/relations \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "limit": "100", "total": "67", "values": [ { … } ] }
Request
Insert or update Business Partner Relations. Relations that are not listed in the request are not modified.
In D&B storages, not listed relations of class D&B Hierarchy and one of type [https://meta.cdq.com/Business_partner/relation/type/commercial_ultimate](Commercial Ultimate) or [https://meta.cdq.com/Business_partner/relation/type/domestic_commercial_ultimate](Domestic Commercial Ultimate), are marked as INACTIVE.
Parameters for Relations Upsert Request.
Batch of Business Partner relations.
Describe when this relationship was first established.
Describe when this relationship ended.
Provides information about the type of the relationship between two Business Partners like:\ direct parent/child, ultimate parent, branch.
Provides information about the classification of the relation.
Unique identifiers for Business Partner in the relation
Unique identifiers for Business Partner in the relation
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/{storageId}/relations
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X PUT \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/72d6900fce6b326088f5d9d91049e3e6/relations \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"relations": [
{
"startedAt": "2025-09-09T13:03:09Z",
"endedAt": "2025-09-09T13:03:09Z",
"type": {
"name": "Commercial ultimate",
"technicalKey": "COMMERCIAL_ULTIMATE",
"url": "https://meta.cdq.com/Business_partner/relation/type"
},
"class": {
"name": "CDQ Hierarchy",
"technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY",
"url": "https://meta.cdq.com/Business_partner/relation/class"
},
"startNode": {
"externalId": "The ID managed in the customer'\''s SAP systems.",
"dataSourceId": "648824a691d8d2503d65103e"
},
"endNode": {
"externalId": "The ID managed in the customer'\''s SAP systems.",
"dataSourceId": "648824a691d8d2503d65103e"
},
"deactivatedAt": "2025-09-09T13:03:09Z"
}
]
}'
{ "numberOfProvidedRelations": "10", "numberOfInserts": "10", "numberOfUpdates": "10", "numberOfFailed": "10", "failures": [ { … } ] }
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/{storageId}/relations/delete
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations/delete
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/v4/storages/72d6900fce6b326088f5d9d91049e3e6/relations/delete \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"relations": [
{
"startNode": {
"externalId": "The ID managed in the customer'\''s SAP systems.",
"dataSourceId": "648824a691d8d2503d65103e"
},
"endNode": {
"externalId": "The ID managed in the customer'\''s SAP systems.",
"dataSourceId": "648824a691d8d2503d65103e"
},
"type": "COMMERCIAL_ULTIMATE",
"class": {
"technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}
}
]
}'
{ "deleted": "10" }