Managing Master Data with webMethods OneData 10.5 | Managing Master Data with webMethods OneData | webMethods OneData Consolidation MDM Guide | Using REST APIs for Data Quality Consolidation | Data Quality APIs | API for Data Match on Multiple Rules
 
API for Data Match on Multiple Rules
Use this REST call to match an input dataset with a set of match candidates by using the pre-defined JSON format. You can include as many input and match dataset rows as required for the datasets to match and as multiple matching rules. OneData executes each rule in the sequence given in the API.
The output returns the match candidate with the greatest score. The output for this REST API call includes a header; a header section, which includes the consolidated details of the number of input data rows, match candidates, status, matcher statistics, repository ID, client ID, user ID and so on; matcher details for each dataset row, which includes the match candidate identifier with the match score, and the success or failure message.
URL
http://host:port/custom_OneData_application_name/rest/OneData_repository_ID/OneData project name/DQ/match
Example: http://apktn121:223/wmonedata/rest/wmmedata/companypartners/DQ/match
Syntax for Data Matching API Request with Multiple Rules
{
"dqConfig":
{
"additionalConfig":
{
"<key1>":"<value1>",
"<key1>":"<value1>"
}
},
"dqRuleConfig":
{
"rules":
[//array of rules
{
"ignoreEmptyFields" : "<true/false>",
"inputMappings": // array of input mapping
[
{
"attributeName":"",
"columnName":"",
"additionalMapping":
{
"weightage":""
"algorithm":""sed>”,
"additionalProperties":
{
"<key1>":"<value1>",
"<key2>":"<value2>"
}
}
},............
]
},.................
]
},
"inputDataSet":
{
"rows":
[//array or rows
{
"columns":
[//array of columns
{
"name":"",
"value":""
},
],
"pkIdentifier":""
},..............
]
},
"matchCandidate":
{
"rows":
[//array of rows
{
"columns":
[//array of columns
{
"name":"":"",
"value":""
},........
],
"pkIdentifier":""
},.........
]
}
}

Copyright © 2011-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.