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/
Workspace ids that are to be calculated.
Features to be activated during counting Business Partner Storages.
| Items Enum Value | Description |
|---|---|
| INCLUDE_ORGANIZATION | Includes current organization Business Partner Storages count. By default, deactivated. |
| INCLUDE_USER | Includes current user Business Partner Storages. By default, turned on. |
| INCLUDE_WORKSPACES | Includes workspaces Business Partner Storages count current or provided by parameters. By default, deactivated. |
Features to be deactivated during counting Business Partner Storages.
| Items Enum Value | Description |
|---|---|
| INCLUDE_ORGANIZATION | Includes current organization Business Partner Storages count. By default, deactivated. |
| INCLUDE_USER | Includes current user Business Partner Storages. By default, turned on. |
| INCLUDE_WORKSPACES | Includes workspaces Business Partner Storages count current or provided by parameters. By default, deactivated. |
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/count
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/storages/count
- Production
https://api.corporate-data-league.ch/data-exchange/public/storages/count
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/count \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "values": [ { … } ] }
Name of the Business Partner Storage.
List of Storages labels.
ID of related data matching definition that is used for matching lookup candidates for internal lookup of this Business Partner Storage.
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/{storageId}
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/storages/{storageId}
- Production
https://api.corporate-data-league.ch/data-exchange/public/storages/{storageId}
curl -i -X PUT \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/72d6900fce6b326088f5d9d91049e3e6 \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"name": "CDQ AG",
"labels": [
"Custom Storage Name"
],
"dataMatchingDefinitionId": "6400955811c68a034bcef311",
"sharedWithOrganization": "true"
}'OK
Unique identifier for a Data Source of the Storage.
Name of the Business Partner Storage.
Internal ID of Event Store.
ID of related decision log.
ID of index in Index API.
Uniquely identifying ID of the organization.
Uniquely identifying ID of the workspace. When provided, workspaceId from JWT is ignored (use case:/ when data mirror is created in user management).
ID of technical client for streaming sharing process.
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.
Number of countries in the Business Partner Storage.
Number of records in the Business Partner Storage.
List of headers used for a modification of metadata.
Name of the last file that was used to import data into this Business Partner Storage.
Status of a Business Partner Storage.
Details related to status.
Indicates if this Business Partner Storage is shared with all users of the same organization
Labels to categorize the storage.
{ "id": "648824a691d8d2503d65103e", "name": "CDQ AG", "eventStoreId": "72d6900fce6b326123f5d9d91049e3e6", "decisionLogId": "72d6900fc3wb326088f5d9d91044e3e6", "searchIndexId": "reference_data_staging-88466b2a-92d6-4541-af91-eebe5cba0fa4", "domain": "BusinessPartner", "organization": "cdq_monitor", "workspaceId": "64d4b623bda6e867724df5cd", "sharingClientId": "12345678-1234-5678-1234-567812345678", "user": "johndoe", "createdAt": "2020-08-31T16:47+00:00", "expiresAt": "2019-08-31T16:47+00:00", "dataMatchingDefinitionId": "6400955811c68a034bcef311", "dataSources": [ { … } ], "dataMonitors": [ { … } ], "features": { "lookup": { … }, "updates": { … }, "sharing": { … }, "neverExpire": { … }, "tagsManagedByUpsert": { … }, "dataMirror": { … } }, "numberOfCountries": "12", "numberOfRecords": "500", "countryStatistics": [ { … } ], "originalFileHeader": [ "BusinessPartnerId, Name, Address" ], "originalFileName": "business-partner.csv", "results": { "addressCurationReports": [ … ], "goldenRecordGenerationReports": [ … ], "resultItems": [ … ], "validationReports": [ … ] }, "status": "FILE_IMPORTED_SUCCESSFULLY", "statusMessage": "BusinessPartner batch could not be upserted into Business Partner Storage.", "sharedWithOrganization": "true", "labels": [ "Custom Storage Name" ] }
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/{storageId}
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/storages/{storageId}
- Production
https://api.corporate-data-league.ch/data-exchange/public/storages/{storageId}
curl -i -X DELETE \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/storages/72d6900fce6b326088f5d9d91049e3e6 \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'