This API 1 provides services to upload, manipulate and download businesspartner data in the CDL Cloud.
Data Exchange API (5)
https://api.cdq.com/data-exchange/rest/
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
curl -i -X POST \
https://api.cdq.com/data-exchange/rest/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) to be measured during calculating statistics. By default, all Data Sources are measured.
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
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
curl -i -X GET \
https://api.cdq.com/data-exchange/rest/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
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations
curl -i -X PUT \
https://api.cdq.com/data-exchange/rest/v4/storages/72d6900fce6b326088f5d9d91049e3e6/relations \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"relations": [
{
"startedAt": "2025-08-19T06:23:16Z",
"endedAt": "2025-08-19T06:23:16Z",
"type": {
"name": "Commercial ultimate",
"technicalKey": "COMMERCIAL_ULTIMATE"
},
"class": {
"name": "CDQ Hierarchy",
"technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
},
"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-08-19T06:23:16Z"
}
]
}'
{ "numberOfProvidedRelations": "10", "numberOfInserts": "10", "numberOfUpdates": "10", "numberOfFailed": "10", "failures": [ { … } ] }
- Production
https://api.cdq.com/data-exchange/rest/v4/storages/{storageId}/relations/delete
curl -i -X POST \
https://api.cdq.com/data-exchange/rest/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" }