Update a Data Mapping
Changed onPartially update a data mapping. Only the fields provided in the request body will be updated, including replacing the entire contents of the mappings array.
For DATASET_CLOUDAPP and DATASET_WAREHOUSE types, validates that all mapped Trait Groups and traits exist and that dataset field data types match their respective mapped trait data types.
Request
- Base URLhttps://memory.twilio.com
- URLhttps://memory.twilio.com/v1/ControlPlane/Stores/{storeId}/DataMappings/{dataMappingId}
- AuthHTTP basic
Headers
Allows for optimistic concurrency control by making the request conditional. Server will only act if the resource's current Entity Tag (ETag) matches the one provided, preventing accidental overwrites.
Request body
Example request
{
"displayName": "crm-contacts",
"description": "Syncs customer data from CRM dataset to profile traits",
"isEnabled": true,
"mappingTo": {
"type": "TRAITS",
"mappings": [
{
"expression": "primary_email",
"traitGroup": "Contact",
"traitName": "email"
}
]
}
}Response
Data mapping update request accepted.
Example response
{
"message": "Data mapping update request accepted for processing."
}Changes
- breaking
added to the request body
allOflist - breaking
request body became required
- breaking
the request's body type changed from
objectto no type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- breaking
- breaking
the request property
///////became required - breaking
the
request property's maxLength was decreased to64 - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - breaking
the
response property's max was increased from99999.00to999999.00for the response status - warning
changed the pattern of the request property
from^[a-zA-Z][a-zA-Z0-9-_.]*$to^[a-zA-Z][a-zA-Z0-9-.]*$ - warning
removed the request property
///////
- breaking