Set up the Data Stewardship metadata for a data model
Sets up the metadata in Talend Data Stewardship for an MDM data model with one or more match rules attached to its entities, including a data stewardship data model and a merging campaign for each entity that has a match rule attached to it.
The new data stewardship data model is created with attributes that correspond to each simple type element in the MDM entity, and the new merging campaign is created using the new data stewardship data model.
Request |
|
Parameters |
|
Headers |
|
Response | A JSON response that contains the name and the label of the data
model and the merging campaign created for each entity that has a match rule attached to
it. The name is in the format of tmdm_<mdm_data_model_name>_<mdm_entity_name> and the label is
in the format of <mdm_data_model_name> -
<mdm_entity_name> - tmdm, all in lower case. Information noteNote: If the execution is
a partial success, the response body will include the names and labels of relevant data
stewardship data model(s) and campaign(s) created successfully, and the names and labels
of relevant data stewardship data model(s) or campaign(s) failed to be created and a
message indicating the reason why the operation failed.
|
Status |
|
Sample response
{
"success": {
"datamodel": [
{
"name": "tmdm_product_product",
"label": "product - product - tmdm"
},
{
"name": "tmdm_product_store",
"label": "product - store - tmdm"
}
],
"campaign": [
{
"name": "tmdm-product-product",
"label": "product - product - tmdm"
},
{
"name": "tmdm-product-store",
"label": "product - store - tmdm"
}
]
}
}