The Job Management API allows for the management and execution of asynchronous jobs within CDQ services. This API enables the creation, monitoring, and management of jobs, allowing developers to automate and streamline complex workflows and tasks.
Jobs Management API (2)
https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v2/
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/
Unique identifier of the Storage.
Business Partner IDs, which should be filtered.
ID of a data source.
Business Partner External IDs, which should be filtered.
Only records with an ID greater than this ID will be fetched.
Features to be used during reading the results (INTERNAL ONLY):
USE_NEXT_START_AFTER- consumes encrypted nextStartAfter from the page result. Required as startAfter is already used as pure id.
| Items Value | Description |
|---|---|
| USE_NEXT_START_AFTER | Use next start after. |
The status of the job results.
| Enum Value | Description |
|---|---|
| OK | OK |
| FAILED | FAILED |
Number of results that should be fetched. Maximum 5000 results can be returned in one page.
- Mock server
https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/{jobId}/results
- Production SOAP
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v2/jobs/{jobId}/results
- Production
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/jobs/{jobId}/results
curl -i -X GET \
'https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/35f23c03-1c22-45fe-9484-3ffe769325de/results?storageId=72d6900fce6b326088f5d9d91049e3e6'{ "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "limit": "100", "total": "67", "values": [ { … } ] }
- Mock server
https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/results/{storageId}
- Production SOAP
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v2/jobs/results/{storageId}
- Production
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/jobs/results/{storageId}
curl -i -X DELETE \
https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/results/72d6900fce6b326088f5d9d91049e3e6- Mock server
https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/{jobId}/results
- Production SOAP
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v2/jobs/{jobId}/results
- Production
https://job-management-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/jobs/{jobId}/results
curl -i -X POST \
'https://idp.cdq.com/_mock/apis/jobs-management-api/api-v2/jobs/35f23c03-1c22-45fe-9484-3ffe769325de/results?storageId=72d6900fce6b326088f5d9d91049e3e6' \
-H 'Content-Type: application/json' \
-d '{
"results": [
{
"dataSourceId": "648824a691d8d2503d65103e",
"businessPartnerId": "63e635235c06b7396330fe40",
"addressId": "address-id",
"externalId": "The ID managed in the customer'\''s SAP systems.",
"addressExternalId": "1",
"addressVersion": {
"characterSet": {
"technicalKey": "INTERNATIONAL"
},
"language": {
"technicalKey": "DE"
}
},
"jobType": "DATA_CURATION_JOB",
"resultData": "{'\''param1'\'': '\''value1'\''}",
"status": "OK",
"message": "Missing storageId.\"",
"countryShortName": "CH",
"processingStatus": {
"technicalKey": "IN_PROGRESS",
"modifiedAt": "2020-08-31T16:47+00:00"
},
"configuration": {
"id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4",
"version": 1
},
"jobId": "35f23c03-1c22-45fe-9484-3ffe769325de"
}
],
"featuresOn": [
"LAB_USE_QUEUES"
]
}'{ "created": "1", "updated": "1", "failed": "1" }