This API provides services to upload, manipulate and download businesspartner data in the CDL Cloud.
Data Exchange API (5)
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/
https://api.cdq.com/data-exchange/rest/
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/upload
- Production
https://api.cdq.com/data-exchange/rest/files/upload
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/upload \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"url": "dq-chart.png or requestedDirectory/dq-chart.png"
}'
{ "uploadLink": "https://file.cdq.com/customer-uploads/cdlbot/dq-chart.png", "uploadMethod": "PUT", "expiresAt": "2025-09-09T13:03:09Z", "url": "customer-uploads/cdlbot/dq-chart.png" }
- Mock server
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files
- Production
https://api.cdq.com/data-exchange/rest/files
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X DELETE \
'https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files?url=dq-chart.png+or+requestedDirectory%2Fdq-chart.png' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "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://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/resources
- Production
https://api.cdq.com/data-exchange/rest/files/resources
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/resources \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
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://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/download
- Production
https://api.cdq.com/data-exchange/rest/files/download
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/data-exchange-api/api-v5/files/download \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"url": "customer-upload/user/file.xlsx",
"downloadLinkAge": "0"
}'
{ "url": "/customer-upload/file.xlsx", "createdBy": "76248934691294444", "createdAt": "2025-09-09T13:03:09Z", "modifiedAt": "2025-09-09T13:03:09Z", "expiresAt": "2025-09-09T13:03:09Z", "downloadLink": "https://file.cdq.com/customer-uploads/cdlbot/dq-chart.png", "downloadMethod": "GET" }