Question
If we perform the following API:
GET https://<envirnoment>.reltio.com/reltio/api/<tenantId>/entities?filter=equals(type,"configuration/entityTypes/Individual")
AND equals(sourceSystems,"<source name>")
AND ( *equals(crosswalks.value,"<crosswalk value>"))&select=uri,attributes,crosswalks
This will return the expected entity.
====================================================================
However, if we perform the following API:
GET https://<envirnoment>.reltio.com/reltio/api/<tenantID>/entities?filter=(equals(type,"configuration/entityTypes/Individual")
AND equals(sourceSystems,"<source name>")
AND ( equals(crosswalks.value,"<crosswalk value>")))&select=uri,attributes,crosswalks
This returned a single entity that was incorrect.
Answer
If you apply the following:
equals(sourceSystems,"FACETS") AND ( equals(crosswalks.value,"04864575401_20140301")
The entity that was returned had both a source system that equals to "FACETS" and a crosswalk value of 04864575401_20140301. Both are satisfied. The filter for "GET /entities" does not check whether 04864575401_20140301 value is from FACETS source or not,
The alternative way is to perform the following API in POSTMAN to find a crosswalk value that is also correlated with a specific source.
GET https://<enviorment>.reltio.com/reltio/api/<tenantId>/entities/_byCrosswalk/04864575401_20140301?type=FACETS
Reference
https://docs.reltio.com/entitiesapi/getentitybycrosswalklist.html.
Comments
Please sign in to leave a comment.