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/
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/v2/updatemonitors/referencedatasources
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/v2/updatemonitors/referencedatasources
- Production
https://api.corporate-data-league.ch/data-exchange/public/v2/updatemonitors/referencedatasources
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/v2/updatemonitors/referencedatasources \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "referenceDataSources": [ { … } ] }
Name of the Business Partner Storage.
ID of related data matching definition that is used for matching lookup candidates for internal lookup of this Business Partner Storage.
Available features of a storage.
| Items Enum Value | Description |
|---|---|
| LOOKUP | Enables search capabilities for the given storage. |
| UPDATES | Enables storing and querying of updates for the given storage. |
| SHARING | Enables storage to participate in the CDQ sharing process. |
| DATA_MIRROR | Defines storage as a Data Mirror. Turns on - NEVER_EXPIRE, LOOKUP, UPDATES, SHARING features. SHARING is not applied when records are not disclosed. |
| HOMELAND | Defines storage as a Homeland Data Mirror. Turns on - DATA_MIRROR feature including its features. |
| NEVER_EXPIRE | Specifies whether a storage should never expire. Always turned on for |
| RELATIONS | Enables storage to contain relations. |
| TAGS_MANAGED_BY_UPSERT | Tags are accepted from upsert, not via dedicated endpoints. Allowed only when storage does not have HOMELAND activated. |
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v3/storages
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/v3/storages
- Production
https://api.corporate-data-league.ch/data-exchange/v3/storages
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v3/storages \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"name": "CDQ AG",
"dataMatchingDefinitionId": "6400955811c68a034bcef311",
"dataSources": [
{
"name": "Internal customers",
"dataMapperDefinitionId": "6440dba32b30176c5917b1b7",
"dataTransformationDefinitionId": "SAP.ODM"
}
],
"featuresOn": [
"LOOKUP"
],
"tags": [
"Custom Tag"
]
}'OK
Unique identifier for a Data Source of the Storage.
Name of the Business Partner Storage.
Your organization to which Business Partner storage is assigned.
Uniquely identifying ID of the workspace. When provided, workspaceId from JWT is ignored (use case:/ when data mirror is created in user management).
Date when storage expires.
Possible values:
- a date when a storage expires,
- NEVER when storage is a Data Mirror or has been created including NEVER_EXPIRE feature.
Expiry date is calculated based on the date of last write operation related to a storage (upsert of data, update of data sources, executed job) plus 6 months, refreshed as most 2 weeks before previous storage expiration date.
ID of related data matching definition that is used for matching lookup candidates for internal lookup of this Business Partner Storage.
{ "id": "648824a691d8d2503d65103e", "name": "CDQ AG", "createdBy": "76248934691294444", "organization": { "id": "cdq_monitor" }, "workspaceId": "64d4b623bda6e867724df5cd", "createdAt": "2020-08-31T16:47+00:00", "expiresAt": "2019-08-31T16:47+00:00", "dataMatchingDefinitionId": "6400955811c68a034bcef311", "dataSources": [ { … } ], "features": { "lookup": { … }, "updates": { … }, "relations": { … }, "sharing": { … }, "neverExpire": { … }, "tagsManagedByUpsert": { … }, "dataMirror": { … }, "dnb": { … }, "sgw": { … }, "monitor": { … }, "system": { … }, "cx": { … } }, "tags": [ "Custom Tag" ] }
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v3/storages/{storageId}
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/v3/storages/{storageId}
- Production
https://api.corporate-data-league.ch/data-exchange/v3/storages/{storageId}
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v3/storages/72d6900fce6b326088f5d9d91049e3e6 \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "status": "OK", "metadata": { "id": "648824a691d8d2503d65103e", "name": "CDQ AG", "createdBy": "76248934691294444", "organization": { … }, "workspaceId": "64d4b623bda6e867724df5cd", "createdAt": "2020-08-31T16:47+00:00", "expiresAt": "2019-08-31T16:47+00:00", "dataMatchingDefinitionId": "6400955811c68a034bcef311", "dataSources": [ … ], "features": { … }, "tags": [ … ] } }