This API possibility to transform string with python code.
Transformation API (1)
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/
https://api.cdq.com/transformation/rest/
List of imported data transformation definitions.
Name of the Data Transformation Definition.
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X POST \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"imports": [
{
"id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
}
],
"name": "My DTD",
"type": {
"name": "BUSINESS_PARTNER",
"technicalKey": "BUSINESS_PARTNER"
},
"mappings": [
{
"sourceAttributes": [
"businessPartner.record"
],
"sourceSelections": [
{
"selectionType": "CONCATENATION",
"value": ","
}
],
"targetAttributes": [
"businessPartner.externalId"
],
"targetTransformations": [
{
"constantValue": "constant",
"targetAttributes": [
"businessPartner.externalId"
],
"transformationName": "CAPITALIZE",
"defaultValue": "default",
"transformationType": "CAPITALIZE"
}
],
"ignoredValues": [
"ignored value"
]
}
],
"reverseMappings": [
{
"sourceAttributes": [
"businessPartner.record"
],
"sourceSelections": [
{
"selectionType": "CONCATENATION",
"value": ","
}
],
"targetAttributes": [
"businessPartner.externalId"
],
"targetTransformations": [
{
"constantValue": "constant",
"targetAttributes": [
"businessPartner.externalId"
],
"transformationName": "CAPITALIZE",
"defaultValue": "default",
"transformationType": "CAPITALIZE"
}
],
"ignoredValues": [
"ignored value"
]
}
],
"valueMappings": [
{
"sourceConditions": [
{
"sourceValue": "AU",
"sourceAttribute": "$.identifications[*].country.code",
"sourceRegex": "^GR\\..{1,}"
}
],
"sourceValue": "AE1",
"targetValue": "AE",
"targetAttribute": "$.identifications[*].country.code",
"sourceAttribute": "$.identifications[*].country.code",
"disabled": "false"
}
],
"values": [
{
"sourceValue": "AE1",
"sourceAttribute": "identifications[*].indentificationType.code"
}
]
}'
OK
List of imported data transformation definitions.
Name of the Data Transformation Definition.
Unique identifier for a data transformation definition.
Uniquely identifying ID of the workspace.
User or Client UUID which modified the resource.
{ "imports": [ { … } ], "name": "My DTD", "type": { "name": "BUSINESS_PARTNER", "technicalKey": "BUSINESS_PARTNER" }, "mappings": [ { … } ], "reverseMappings": [ { … } ], "valueMappings": [ { … } ], "values": [ { … } ], "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "workspaceId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "version": 1, "createdBy": "76248934691294444", "createdAt": "2025-08-29T09:47:35Z", "modifiedBy": "76248934691294444", "modifiedAt": "2025-08-29T09:47:35Z" }
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "startAfter": "5712566172571652", "nextStartAfter": "5712566172571652", "total": "67", "values": [ { … } ] }
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/{id}/reverse
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions/{id}/reverse
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4/reverse \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
OK
List of imported data transformation definitions.
Name of the Data Transformation Definition.
Unique identifier for a data transformation definition.
Uniquely identifying ID of the workspace.
User or Client UUID which modified the resource.
{ "imports": [ { … } ], "name": "My DTD", "type": { "name": "BUSINESS_PARTNER", "technicalKey": "BUSINESS_PARTNER" }, "mappings": [ { … } ], "reverseMappings": [ { … } ], "valueMappings": [ { … } ], "values": [ { … } ], "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "workspaceId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "version": 1, "createdBy": "76248934691294444", "createdAt": "2025-08-29T09:47:35Z", "modifiedBy": "76248934691294444", "modifiedAt": "2025-08-29T09:47:35Z" }
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/{id}
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions/{id}
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
OK
List of imported data transformation definitions.
Name of the Data Transformation Definition.
Unique identifier for a data transformation definition.
Uniquely identifying ID of the workspace.
User or Client UUID which modified the resource.
{ "imports": [ { … } ], "name": "My DTD", "type": { "name": "BUSINESS_PARTNER", "technicalKey": "BUSINESS_PARTNER" }, "mappings": [ { … } ], "reverseMappings": [ { … } ], "valueMappings": [ { … } ], "values": [ { … } ], "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "workspaceId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "version": 1, "createdBy": "76248934691294444", "createdAt": "2025-08-29T09:47:35Z", "modifiedBy": "76248934691294444", "modifiedAt": "2025-08-29T09:47:35Z" }
List of imported data transformation definitions.
Name of the Data Transformation Definition.
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/{id}
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions/{id}
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X PUT \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4 \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"imports": [
{
"id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4"
}
],
"name": "My DTD",
"type": {
"name": "BUSINESS_PARTNER",
"technicalKey": "BUSINESS_PARTNER"
},
"mappings": [
{
"sourceAttributes": [
"businessPartner.record"
],
"sourceSelections": [
{
"selectionType": "CONCATENATION",
"value": ","
}
],
"targetAttributes": [
"businessPartner.externalId"
],
"targetTransformations": [
{
"constantValue": "constant",
"targetAttributes": [
"businessPartner.externalId"
],
"transformationName": "CAPITALIZE",
"defaultValue": "default",
"transformationType": "CAPITALIZE"
}
],
"ignoredValues": [
"ignored value"
]
}
],
"reverseMappings": [
{
"sourceAttributes": [
"businessPartner.record"
],
"sourceSelections": [
{
"selectionType": "CONCATENATION",
"value": ","
}
],
"targetAttributes": [
"businessPartner.externalId"
],
"targetTransformations": [
{
"constantValue": "constant",
"targetAttributes": [
"businessPartner.externalId"
],
"transformationName": "CAPITALIZE",
"defaultValue": "default",
"transformationType": "CAPITALIZE"
}
],
"ignoredValues": [
"ignored value"
]
}
],
"valueMappings": [
{
"sourceConditions": [
{
"sourceValue": "AU",
"sourceAttribute": "$.identifications[*].country.code",
"sourceRegex": "^GR\\..{1,}"
}
],
"sourceValue": "AE1",
"targetValue": "AE",
"targetAttribute": "$.identifications[*].country.code",
"sourceAttribute": "$.identifications[*].country.code",
"disabled": "false"
}
],
"values": [
{
"sourceValue": "AE1",
"sourceAttribute": "identifications[*].indentificationType.code"
}
]
}'
OK
List of imported data transformation definitions.
Name of the Data Transformation Definition.
Unique identifier for a data transformation definition.
Uniquely identifying ID of the workspace.
User or Client UUID which modified the resource.
{ "imports": [ { … } ], "name": "My DTD", "type": { "name": "BUSINESS_PARTNER", "technicalKey": "BUSINESS_PARTNER" }, "mappings": [ { … } ], "reverseMappings": [ { … } ], "valueMappings": [ { … } ], "values": [ { … } ], "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "workspaceId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "version": 1, "createdBy": "76248934691294444", "createdAt": "2025-08-29T09:47:35Z", "modifiedBy": "76248934691294444", "modifiedAt": "2025-08-29T09:47:35Z" }
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/{id}
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions/{id}
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X DELETE \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
{ "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4" }
- Mock server
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/{id}/versions/{version}
- Production
https://api.cdq.com/transformation/rest/datatransformationdefinitions/{id}/versions/{version}
- cURL
- Java
- JavaScript
- Python
- Node.js
curl -i -X GET \
https://developer.cdq.com/_mock/apis/transformation-api/v1/api-v1/datatransformationdefinitions/c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4/versions/1 \
-H 'X-API-KEY: YOUR_API_KEY_HERE'
OK
List of imported data transformation definitions.
Name of the Data Transformation Definition.
Unique identifier of Data Transformation Definition version.
Unique identifier for a Data Transformation Definition.
Version number of the configuration.
Uniquely identifying ID of the workspace.
{ "imports": [ { … } ], "name": "My DTD", "type": { "name": "BUSINESS_PARTNER", "technicalKey": "BUSINESS_PARTNER" }, "mappings": [ { … } ], "reverseMappings": [ { … } ], "valueMappings": [ { … } ], "values": [ { … } ], "id": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "dataTransformationDefinitionId": "17def3cf51b6-abf0-4f8e-9a20-cd83bab2", "version": 1, "workspaceId": "c074b9f3-abf0-4f8e-9a20-74deb6cfa2a4", "createdBy": "76248934691294444", "createdAt": "2025-08-29T09:47:35Z" }