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/
Unique identifier of the Storage.
Unique identifier of a job.
Unique identifier of a job.
Features to be activated during the Restart Monitor job.
| Items Enum Value | Description |
|---|---|
| CDQ_POOL | Points to CDQ.POOL. |
| RESTART | Performs restart on pointed sharing pool. |
| REMOVE_DUPLICATES | Removes duplicates based on provided deduplication job as input. |
| DATA_DEFECTS | Test run for REMOVE_HAVING_DATA_DEFECTS. |
| REMOVE_HAVING_DATA_DEFECTS | Removes BPs with data defects from cdq pool. |
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/restartmonitorjobs
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/jobs/restartmonitorjobs
- Production
https://api.corporate-data-league.ch/data-exchange/jobs/restartmonitorjobs
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/restartmonitorjobs \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"duplicationJobId": "35f23c03-1c22-45fe-9484-3ffe769325de",
"validationJobId": "35f23c03-1c22-45fe-9484-3ffe769325de",
"featuresOn": [
"CDQ_POOL"
],
"limit": "100"
}'{ "monitorStorageCleanupJob": { "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" }, "sharingJob": { "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" } }
Unique identifier of the Storage.
Toggle Sharing Scope Disclosure.
When 'True' is checked, all data sources and shared Business Partners are disclosed. When 'False' is checked, all Business Partners with disclosure are removed.
Determines how many elements are allowed to be processed at all. Currently, deactivated.
List of Business Partner IDs.
List of Data Sources IDs.
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/storagesharingjobs
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/jobs/storagesharingjobs
- Production
https://api.corporate-data-league.ch/data-exchange/jobs/storagesharingjobs
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/jobs/storagesharingjobs \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"disclose": "true",
"startAfter": "5712566172571652",
"limit": "100",
"businessPartnerIds": [
"63e635235c06b7396330fe40"
],
"dataSourceIds": [
"648824a691d8d2503d65103e"
],
"countryShortNames": [
"CH"
],
"sharingStatuses": [
"SHARED_WITH_NO_MATCH"
]
}'OK
Job execution status.
| Enum Value | Description |
|---|---|
| ARCHIVED | Job has been archived. |
| UNKNOWN | Job becomes in unknown status. |
| CREATED | Job has been created. |
| PERSISTED | Job metadata has been persisted. |
| SCHEDULED | Job has been scheduled for execution. |
| WAITING | Job is waiting for being scheduled. |
| COULDNT_START | Job could not be started. |
| RUNNING | Job is being executed. |
| FINISHED | Job has finished. |
| DIED | Job was scheduled and started running but died unexpectedly. |
Additional information to explain the status.
Unique identifier of the Storage.
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "progress": "77", "status": "RUNNING", "statusMessage": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00" }