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/
Request
This endpoint is deprecated. Please use
- create data source to create a new data source,
- update data source to update existing data source,
- delete data source to delete existing data source.
Update all data sources of a given storage.
- When a new data source without id is added to the list, it is created. In case data source is created within DATA_MIRROR and does not have
dataMapperDefinitionId
ordataTransformationDefinitionId
filled,dataMapperDefinitionId
is set todefault
. - When existing data source is provided on a list with id included, it is updated.
- When data source identified by id is not included in a list, it is deleted with all its related Business Partners, data monitors and sharing scopes for that data source are adjusted (data source is removed from the data sources list of a resource and resource is removed if data source was the only one assigned).
Note: all data sources that are expected to remain in the storage must be included on a list.
Warn: If you have an integration with one data source, please check if data source id is included in the upsert request before adding a new data source. Otherwise, adding new data source may lead to upsert failures visible as bad request containing message "No DataSource was provided for the given Business Partners and the storage has more than one attached to it.".
List of Data Sources.
Unique identifier for a Data Source of the Storage.
Date of creation (ISO 8601-compliant).
Date of modification (ISO 8601-compliant).
Name of a data source of a storage.
ID of related Data Mapper Definition that is used for mapping data of this Business Partner Storage.
- Production
https://api.cdq.com/data-exchange/rest/storages/{storageId}/datasources
curl -i -X PUT \
https://api.cdq.com/data-exchange/rest/storages/72d6900fce6b326088f5d9d91049e3e6/datasources \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"dataSources": [
{
"id": "648824a691d8d2503d65103e",
"createdAt": "2025-08-19T06:23:16Z",
"lastUpdatedAt": "2025-08-19T06:23:16Z",
"name": "Internal customers",
"dataMapperDefinitionId": "6440dba32b30176c5917b1b7",
"dataTransformationDefinitionId": "SAP.ODM"
}
]
}'
{ "created": "4", "updated": "0", "failed": "4" }
- Production
https://api.cdq.com/data-exchange/rest/updatemonitors/datasources
curl -i -X GET \
https://api.cdq.com/data-exchange/rest/updatemonitors/datasources \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "dataSources": [ "648824a691d8d2503d65103e" ] }