How can I get the batchcleanse API call to return back an user defined attribute in the response?

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 below example of input passing Reltio along with the User data Source ID value. But in Response, we are not getting back SourceID values.

Refer to the below URL and Parameters using currently.

https://dev.reltio.com/reltio/api/8Kv4arIxdrx73EZ/entities/batchcleanse?
returnUserData=true&options=ovOnly&type=other

Input to Reltio:

[
{
  "attributes": {
    "AddressLine1": [
      {
        "value": "1789 LEAD MINE RD"
      }
    ],
    "City": [
      {
        "value": "GOUVERNEUR"
      }
    ],
    "Country": [
      {
        "value": "US"
      }
    ],
    "StateProvince": [
      {
        "value": "NY"
      }
    ],
    "Zip": [
      {
        "value": {
          "Zip5": [
              {
              "value": "13642"
            }
          ]
        }
      }
    ]
  },
  "type": "configuration/entityTypes/Location",
  "userData": {
    "sourceId": "2c87efb0350b7c33fd0a6996d65e179d"
  }
}
]
 
Response from Reltio : Does not giving SourceID.

Answer

 The API returns 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.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.