After you have started a transformation job, you will receive a job id in the response.
{
"id" : "<ID>"
}
Use this ID to poll for the status of the job using this endpoint. Once the status is FINISHED the transformation is done, and you are able to verify the result in your storage.
OK
Unauthorized
Forbidden
Not Found
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "domain": "BusinessPartner",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "createdBy": "76248934691294444",
- "createdAt": "2024-11-20T14:46:34Z",
- "modifiedAt": "2024-11-20T14:46:34Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "DataSource [5e2874fb8d2a7400011acee1] has no DataMapperDefinition attached and no alternative dataMapperDefinitionId was passed to the job",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "dataMapperDefinitionId": "6440dba32b30176c5917b1b7",
- "dataTransformationDefinitionId": "SAP.ODM",
- "featuresOn": [
- "UPSERT_CHANGES_ONLY"
], - "result": {
- "statistics": {
- "numberOfRecords": "500",
- "numberOfFailed": "10"
}
}
}
Starting a Transformation Job. In case any selected data source does not have a dataMappingDefinition
an API error returned.
cmd
OK
The sent request is malformed.
Unauthorized
Forbidden
{- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countries": [
- {
- "shortName": "CH"
}
], - "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataMapperDefinitionId": "6440dba32b30176c5917b1b7",
- "dataTransformationDefinitionId": "SAP.ODM",
- "startAfter": "NjI4ZGNkZjAzYjlkMjY4NjhlNjQxNDRm",
- "featuresOn": [
- "UPSERT_CHANGES_ONLY"
]
}
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "domain": "BusinessPartner",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "createdBy": "76248934691294444",
- "createdAt": "2024-11-20T14:46:34Z",
- "modifiedAt": "2024-11-20T14:46:34Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "DataSource [5e2874fb8d2a7400011acee1] has no DataMapperDefinition attached and no alternative dataMapperDefinitionId was passed to the job",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "dataMapperDefinitionId": "6440dba32b30176c5917b1b7",
- "dataTransformationDefinitionId": "SAP.ODM",
- "featuresOn": [
- "UPSERT_CHANGES_ONLY"
], - "result": {
- "statistics": {
- "numberOfRecords": "500",
- "numberOfFailed": "10"
}
}
}
Use a Data Mapper Definition to transform a list of records into Business Partners.
Records
OK
Unauthorized
Forbidden
Not Found
{- "recordsAsJsonString": [
- "{\"address\": \"Musterstrasse 1, 12345 Musterstadt\"}"
]
}
[- {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-20T14:46:34Z",
- "modifiedAt": "2024-11-20T14:46:34Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-11-20T14:46:34Z",
- "triggerType": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}, - "trigger": {
- "processedAt": "2024-11-20T14:46:34Z",
- "provenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "type": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}
}, - "jobProcessedAt": "2024-11-20T14:46:34Z",
- "processedAt": "2024-11-20T14:46:34Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": {
- "shortName": "CH",
- "value": "Switzerland"
}
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-11-20T14:46:34Z",
- "validUntil": "2024-11-20T14:46:34Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
- "technicalKey": "NAF 2003"
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": "FAX",
- "technicalKey": "FAX"
}, - "value": "+41 71 571 10 40"
}
], - "websites": [
- {
- "type": {
- "name": "Corporate Website",
- "technicalKey": "WEBSITE_TYPE_CORPORATE"
}
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-11-20T14:46:34Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": "Doctor",
- "technicalKey": "DOCTOR"
}, - "licenseStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": "Swiss Medical Association",
- "permissionStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}, - "activityStatus": {
- "name": "Inactive",
- "technicalKey": "INACTIVE"
}, - "practiceLocations": [
- {
- "practiceName": null,
- "selfDispensationStatus": null,
- "controlledSubstancePurchasePermission": null
}
]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-11-20T14:46:34Z",
- "endedAt": "2024-11-20T14:46:34Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-11-20T14:46:34Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "characterSet": {
- "name": "International",
- "technicalKey": "INTERNATIONAL"
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": "Production hall 7, Storage field 8."
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen",
- "shortName": "SG",
- "isoCode": "CH-SG",
- "type": {
- "name": "COUNTY",
- "technicalKey": "COUNTY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postCodes": [
- {
- "value": "9000",
- "type": {
- "name": "Regular",
- "technicalKey": "REGULAR"
}
}
], - "localities": [
- {
- "type": {
- "name": "City",
- "technicalKey": "CITY"
}, - "shortName": "St. Gallen",
- "value": "Sankt Gallen",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "thoroughfares": [
- {
- "type": {
- "name": "Industrial zone",
- "technicalKey": "INDUSTRIAL_ZONE"
}, - "shortName": "Lukasstr. 4",
- "number": "4",
- "value": "Lukasstraße 4",
- "name": "Lukasstraße",
- "direction": "221-bis Baker Street, North",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": {
- "name": "Factory",
- "technicalKey": "FACTORY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoints": [
- {
- "type": {
- "name": "Mailbox",
- "technicalKey": "MAILBOX"
}, - "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-11-20T14:46:34Z",
- "lastPaymentDate": "2024-11-20T14:46:34Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}
}
]