Creates or fully replaces the mapping values for the given field.
POST
/v2/api/mappingtables/{mappingField}
curl \
--request POST 'https://api.maddenanalytics.com/v2/api/mappingtables/{mappingField}' \
--header "Content-Type: application/json" \
--data '{"mappingType":"string","mappingValues":{}}'
Request examples
{
"mappingType": "string",
"mappingValues": {}
}
Response examples (200)
{
"mappingField": "color",
"mappingType": "products",
"mappingValues": {}
}
Response examples (400)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}