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 Cleanser on Object
 
API for Cleanser on Object
Use this Cleanser API function when you have an object-project mapping defined in OneData, and you want to use the mapping through REST. You must pass the object name in the URL as given in the URL syntax. In the JSON input, you need to pass only the data that needs to be cleansed. This API function is applicable to any type of object-project mapping, including a pluggable type cleanser.
when you have an object-project defined in OneData, and want to use the mapping in REST. You must pass the object name in the URL as given in the URL syntax. In the JSON input, you must pass only the data to be cleansed. This function is applicable to any type of object-project mapping, including a pluggable type cleanser.
In the API input, columnName should be the name of object columns used in the project-object mapping.
URL
http://host:port/custom_OneData_application_name/rest/OneData_repository_ID/schema/DQ/cleanser/object/object_name
Example: http://localhost:8080/WMOnedata/rest/OD98HAPA/Standard%20Project/DQ/cleanser/object/Staging
Mandatory Input Attributes
Required:
inputDataSet
Example of API Syntax
{
"dqConfig" : {
"additionalConfig" : {
}
},
"inputDataSet" : {
"rows" : [
{
"columns" : [ {
"name" : "Name",
"value" : "SoftwareAg"
}, {
"name" : "Address",
"value" : "300 Concord Road"
}, {
"name" : "City",
"value" : "US"
}, {
"name" : "State",
"value" : "01821"
} ],
"pkIdentifier" : "111"
},
{
"columns" : [ {
"name" : "Name",
"value" : "US Navy Reserve"
}, {
"name" : "Address",
"value" : "1246 Everett Avenue"
}, {
"name" : "State",
"value" : "40204"
} ],
"pkIdentifier" : "222"
},
{
"columns" : [ {
"name" : "Name",
"value" : "G. R. Belue"
}, {
"name" : "Address",
"value" : "524 Pecan Stree"
}, {
"name" : "City",
"value" : "US"
}, {
"name" : "State",
"value" : "76036"
} ],
"pkIdentifier" : "333"
}
]
}
}

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.