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/files/upload
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/files/upload
- Production
https://api.corporate-data-league.ch/data-exchange/public/files/upload
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files/upload \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"url": "dq-chart.png or requestedDirectory/dq-chart.png"
}'{ "uploadLink": "https://file.cdq.com/customer-uploads/cdlbot/dq-chart.png", "uploadMethod": "PUT", "expiresAt": "2020-08-31T16:47+00:00", "url": "customer-uploads/cdlbot/dq-chart.png" }
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/files
- Production
https://api.corporate-data-league.ch/data-exchange/public/files
curl -i -X DELETE \
-u <username>:<password> \
'https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files?url=dq-chart.png+or+requestedDirectory%2Fdq-chart.png' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "results": [ { … } ] }
Path of requested directory for which resources should be listed.
Continuation token. Encoded s3 path from which listing resources should be started.
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files/resources
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/files/resources
- Production
https://api.corporate-data-league.ch/data-exchange/public/files/resources
curl -i -X GET \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files/resources \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'OK
Value of continuation token from the request.
Value of continuation token required to retrieve results from next page. Should be passed in the next request as "startAfter" parameter.
{ "startAfter": "1XUzntG%2FKE%2B5IN08GrJQgKin9OblLzlorehkIs1xlj46yyCktx%2FsZrQeTh2FvBKOLLB%2Fu%2F32Ow%2BRJfLUjMqi6gGGjsAQRPZ4u", "limit": "100", "nextStartAfter": "1XUzntG%2FKE%2B5IN08GrJQgKin9OblLzlorehkIs1xlj46yyCktx%2FsZrQeTh2FvBKOLLB%2Fu%2F32Ow%2BRJfLUjMqi6gGGjsAQRPZ4u", "files": [ { … } ] }
- Mock server
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files/download
- Production SOAP
https://api.corporate-data-league.ch/data-exchange/soap/v5/public/files/download
- Production
https://api.corporate-data-league.ch/data-exchange/public/files/download
curl -i -X POST \
-u <username>:<password> \
https://idp.cdq.com/_mock/apis/data-exchange-api/api-v5/public/files/download \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"url": "customer-upload/user/file.xlsx",
"downloadLinkAge": "0"
}'{ "url": "/customer-upload/file.xlsx", "createdBy": "76248934691294444", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00", "expiresAt": "2020-08-31T16:47+00:00", "downloadLink": "https://file.cdq.com/customer-uploads/cdlbot/dq-chart.png", "downloadMethod": "GET" }