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-21T16:00:54Z",
- "modifiedAt": "2024-11-21T16:00:54Z",
- "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": "6440dba32b30176c5917b1b7",
- "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": "6440dba32b30176c5917b1b7",
- "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-21T16:00:54Z",
- "modifiedAt": "2024-11-21T16:00:54Z",
- "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": "6440dba32b30176c5917b1b7",
- "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-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "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"
}
}
], - "postCode": {
- "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",
- "direction": "221-bis Baker Street, North",
- "value": "Lukasstraße 4",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": "Building",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}
]