DataMapping
Create a Data Mapping
Create a new data mapping to connect an external data source to this Memory Store. For DATASET types, validates that all mapped Trait Groups and traits exist and that dataset field data types match their respective mapped trait data types.
post/v1/ControlPlane/Stores/{storeId}/DataMappings
Request body
Example request
{
"displayName": "crm-contacts",
"description": "Syncs customer data from CRM dataset to profile traits",
"isEnabled": true,
"mappingTo": {
"type": "TRAITS",
"mappings": [
{
"fieldName": "primary_email",
"traitGroup": "Contact",
"traitName": "email"
}
]
},
"mappingFrom": {
"type": "DATASET",
"datasetId": "tdi_dataset_00000000000000000000000000"
}
}Response
Data mapping creation request accepted.
Example response
{
"message": "Data mapping creation request accepted for processing."
}