Skip to content

Data Transformation

Provides functionalities for converting raw data into structured formats.

Start Transformation Job

Request

Starting a Transformation Job. In case any selected data source does not have a dataMappingDefinition an API error returned.

Security
apiKey
Bodyapplication/jsonrequired

cmd

namestring, <= 50 characters(JobName)

Name of a Job.

Example:"Process vendor data."
descriptionstring, <= 200 characters(JobDescription)

Detailed description of a Job.

Example:"I started this job to improve quality of our data."
dataSourceIdstring

Unique identifier for a Data Source of the Storage.

If set, only the records that belong to the data source identified by this ID are transformed. By default, all records of the Business Partner Storage (means from all data sources) are transformed.

Example:"648824a691d8d2503d65103e"
countriesArray of objects(TransformationJobRequestCountry)

List of countries for which the records should be transformed.

storageIdstring(BusinessPartnerStorageId)required

Unique identifier of the Storage.

Example:"72d6900fce6b326088f5d9d91049e3e6"
dataMapperDefinitionIdstring(DataMapperDefinitionId)

ID of related Data Mapper Definition that is used for mapping data of this Business Partner Storage.

Example:"6440dba32b30176c5917b1b7"
startAfterstring

Processes transformation of records starting from the ID 'startAfter'.

Example:"NjI4ZGNkZjAzYjlkMjY4NjhlNjQxNDRm"
businessPartnerIdsArray of strings

List of Business Partner IDs to be transformed.

featuresOnArray of strings
curl -i -X POST \
  https://api.cdq.com/data-exchange/rest/jobs/transformationjobs \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "dataSourceId": "YOUR_DATA_SOURCE_ID",
    "storageId": "YOUR_DATA_MIRROR_ID",
    "featuresOn": [
      "UPSERT_CHANGES_ONLY"
    ]
  }'

Responses

OK

Bodyapplication/json
idstring(JobId)

Unique identifier of a job.

Example:"35f23c03-1c22-45fe-9484-3ffe769325de"
namestring(JobName)

Name of a Job.

Example:"Process vendor data."
descriptionstring(JobDescription)

Detailed description of a Job.

Example:"I started this job to improve quality of our data."
createdBystring(CreatedBy)

Creator of a resource.

Example:"76248934691294444"
createdAtstring(CreatedAt)

Date of creation (ISO 8601-compliant).

Example:"2026-11-30T10:28:48Z"
modifiedAtstring(ModifiedAt)

Date of modification (ISO 8601-compliant).

Example:"2026-11-30T10:28:48Z"
progressinteger, [ 0 .. 100 ](JobProgress)

Progress (%) of the job.

Example:"77"
statusstring(JobStatusResult)

Job execution status.

Example:"RUNNING"
statusMessagestring

The status message contains the error message if the transformation job failed.

Example:"DataSource [5e2874fb8d2a7400011acee1] has no DataMapperDefinition attached and no alternative dataMapperDefinitionId was passed to the job"
storageIdstring(BusinessPartnerStorageId)

Unique identifier of the Storage.

Example:"72d6900fce6b326088f5d9d91049e3e6"
dataSourceIdstring(BusinessPartnerStorageDataSourceId)

Unique identifier for a Data Source of the Storage.

Example:"648824a691d8d2503d65103e"
dataMapperDefinitionIdstring(DataMapperDefinitionId)

ID of related Data Mapper Definition that is used for mapping data of this Business Partner Storage.

Example:"6440dba32b30176c5917b1b7"
featuresOnArray of strings
resultobject(TransformationJobResult)

The result of a Transformation Job.

domainstring(Domain)deprecated

Domain of a Business Partner Storage.

Example:"BusinessPartner"
Response
{ "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": "2026-11-30T10:28:48Z", "modifiedAt": "2026-11-30T10:28:48Z", "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", "featuresOn": [ "UPSERT_CHANGES_ONLY" ], "result": { "statistics": { … } } }