Question
We are using batch cleanse API calls to standardize the address and store it back in Snowflake. We would like to send the SourceID to Reltio API input along with address-related fields and get the same SourceID back in response along with the standardized address so that we can tie it back to the original source record.
Refer to the example below of input passing Reltio along with the User data Source ID value. But in Response, we are not getting back SourceID values. What is the right way to send user data into the batch cleaner and get it back from Reltio?
API used
POST https://<environment>.reltio.com/reltio/api/8Kv4arIxdrx73EZ/entities/batchcleanse?returnUserData=true&options=ovOnly&type=other
Answer
The API will return an object according to the L3 configuration. If the attribute userData.sourceId exists in L3 of this entity type; it can be returned under the attributes array.
[
{
"attributes": {
"AddressLine1": [
{
"value": "1789 LEAD MINE RD"
}
],
"City": [
{
"value": "GOUVERNEUR"
}
],
"Country": [
{
"value": "US"
}
]
},
"type": "configuration/entityTypes/Location",
"userData": {
"sourceId": "2c87efb0350b7c33fd0a6996d65e179d"
}
}
]
Comments
Please sign in to leave a comment.