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
Roll Event Store for Business Partner Storage
This endpoint facilitates the transition to a new event store for Business Partner Storage. The process involves several key steps: Validation: Ensure that the collection associated with previousEventStoreId does not exist. If it does, rolling to a new event store is prohibited. Creation: Establish a new collection intended to store events for the Business Partner Storage's event store. Backup: Safeguard the current eventStoreId by storing it as previousEventStoreId within the Business Partner Storage Metadata. Assignment: Update the Business Partner Storage Metadata by setting the new collection ID as the eventStoreId. Preservation: Retain the previousEventStoreId without dropping it, as it is now prepared for backup.
This endpoint ensures a smooth transition while maintaining the integrity and accessibility of historical event data.
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v2/storages/{storageId}/eventstore/roll
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/v2/storages/{storageId}/eventstore/roll
- Production
https://api.corporate-data-league.ch/data-exchange/v2/storages/{storageId}/eventstore/roll
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/v2/storages/72d6900fce6b326088f5d9d91049e3e6/eventstore/roll{ "status": { "code": "200", "technicalKey": "OK", "details": [ … ], "path": "/v2/businesspartners/lookup", "timestamp": "2019-08-31T16:47+00:00" }, "newEventStoreId": "72d6900fce6b326123f5d9d91049e3e6", "previousEventStoreId": "72d6900fce6b326123f5d9d91049e3e6" }
- 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" ] }