Create a Data Mapping
Create a new data mapping to connect an external data source to this Memory Store. 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 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"
}
]
},
"mappingFrom": {
"type": "INGRESS",
"columns": [
"first_name",
"last_name",
"email",
"favorite_color"
]
}
}Response
Data mapping creation request accepted.
Example response
{
"message": "Data mapping creation request accepted for processing."
}Changes
Changed in 3 of the 8 revisions of this API.925
- ▲
removed
DataMappingFromCSVDataMappingFromDataSetfrom themappingFromrequest propertyoneOflistrequest-property-one-of-removed
- ○
removed
CSVDATASETdiscriminator mapping keys from themappingFromrequest propertyrequest-property-discriminator-mapping-deleted
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
INGRESSDATASET_CLOUDAPPDATASET_WAREHOUSEdiscriminator mapping keys to themappingFromrequest propertyrequest-property-discriminator-mapping-added
- ○
added
DataMappingFromIngressDataMappingFromCloudAppDataSetDataMappingFromWarehouseDataSetto themappingFromrequest propertyoneOflistrequest-property-one-of-added
- ○
- ▲
the request property
mappingTo/oneOf[DataMappingToTraits]/mappings/items/expressionbecame requiredrequest-property-became-required
- ▲
the
displayNamerequest property's maxLength was decreased to64request-property-max-length-decreased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status400response-property-max-increased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status404response-property-max-increased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status409response-property-max-increased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status429response-property-max-increased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status500response-property-max-increased
- ▲
the
coderesponse property's max was increased from99999.00to999999.00for the response status503response-property-max-increased
- ●
changed the pattern of the request property
displayNamefrom^[a-zA-Z][a-zA-Z0-9-_.]*$to^[a-zA-Z][a-zA-Z0-9-.]*$request-property-pattern-changed
- ●
removed the request property
mappingTo/oneOf[DataMappingToTraits]/mappings/items/fieldNamerequest-property-removed
- ○
added
CSVdiscriminator mapping keys to themappingFromrequest propertyrequest-property-discriminator-mapping-added
- ○
added
DataMappingFromCSVto themappingFromrequest propertyoneOflistrequest-property-one-of-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 8 revisions, 1 has no diff computed.