Unify and manage your data

Cleanse simple values with custom configuration

This API allows you to cleanse simple values with custom configuration.

You can use this API to test cleanser configuration against a set of simple values.

You must have the MDM.Config.BusinessModel resource assigned with the READ privilege.

Request

POST /tools/matching/cleansers/cleanse?tenantId=<your_tenant_id>

Body

{
   "values": [
       "leia",
       "corny"
   ],
   "cleanser": {
       "cleanseAdapter": "com.reltio.cleanse.impl.NameDictionaryCleanser",
       "cleanseAdapterParams": {
           "dictionary" : "SynonymFirstNamesNA_2020-09-01"
       }
   }
}

Response


[
    {
        "value": "leia",
        "cleansedValues": [
            "leah"
        ]
    },
    {
        "value": "corny",
        "cleansedValues": [
            "cornelia",
            "cornelius"
        ]
    }
]