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
Initialize an event store for an already existing storage. For all existing BusinessPartners in the storage, a corresponding BusinessPartnerCreated event will be stored to enable proper determination of future updates. It is recommended to run the linkage job after the initialization of events in storage is completed.
Unique identifier of the Storage.
Unique identifier for a Data Source of the Storage.
Determines how many elements are allowed to be processed at once.
Features to be activated during the upsert.
| Items Enum Value | Description |
|---|---|
| INITIALIZE | Used only when the Business Partner Storage has never had UPDATES feature. Creates only BusinessPartnerCreated events without checking for existing BusinessPartnerEvents. Goal is to speed up setting UPDATES feature. |
| NO_PERSISTENCE | Do not persist events. Execution is performed for test and debug purposes to check e.g. if no events are missing. |
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/jobs/eventStoreInitializerJobs
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/jobs/eventStoreInitializerJobs
- Production
https://api.corporate-data-league.ch/data-exchange/public/jobs/eventStoreInitializerJobs
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/jobs/eventStoreInitializerJobs \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"storageId": "72d6900fce6b326088f5d9d91049e3e6",
"dataSourceId": "648824a691d8d2503d65103e",
"startAfter": "5712566172571652",
"batchSize": "500",
"limit": "100",
"tags": [
"tag1"
],
"featuresOn": [
"INITIALIZE"
]
}'OK
Date of modification (ISO 8601-compliant).
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.
Unique identifier for a Data Source of the Storage.
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00", "progress": "77", "status": "RUNNING", "message": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "dataSourceId": "648824a691d8d2503d65103e", "startAfter": "5712566172571652", "batchSize": "500", "eventStoreId": "72d6900fce6b326123f5d9d91049e3e6" }
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/jobs/eventStoreInitializerJobs/{jobId}
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/jobs/eventStoreInitializerJobs/{jobId}
- Production
https://api.corporate-data-league.ch/data-exchange/public/jobs/eventStoreInitializerJobs/{jobId}
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/jobs/eventStoreInitializerJobs/35f23c03-1c22-45fe-9484-3ffe769325de \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'OK
Date of modification (ISO 8601-compliant).
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.
Unique identifier for a Data Source of the Storage.
{ "id": "35f23c03-1c22-45fe-9484-3ffe769325de", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00", "progress": "77", "status": "RUNNING", "message": "The job failed because storage is empty.", "storageId": "72d6900fce6b326088f5d9d91049e3e6", "dataSourceId": "648824a691d8d2503d65103e", "startAfter": "5712566172571652", "batchSize": "500", "eventStoreId": "72d6900fce6b326123f5d9d91049e3e6" }