Skip to main content Skip to complementary content

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
PUT /services/rest/tds/setup
Parameters
  • model: This is a String value which represents the name of the MDM data model.
Headers
  • Accept: application/json
  • Authorization: Basic Authentication scheme
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
  • 200 OK: The operation is executed successfully.
  • 401 UNAUTHORIZED: Login fails, invalid username or password.
  • 403 FORBIDDEN: Missing required permission.
  • 420 METHOD FAILURE: The setup of the data stewardship metadata fails.
  • 500 INTERNAL SERVER ERROR: Other errors.

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"
      }
    ]
  }
}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!