The 2nd filter which we are using to filter target entities after the inRelations or outRelations is not working and we are not getting expected result. If we start the search from Person and want to fetch all related contract entities where policy number is given, we are only getting the person information. No relations ad related entities.
For example
https://mpe-01.reltio.com/reltio/api/TenantId/entities/_searchConnections
Body:
{<o:p></o:p>
"filter": "equals(type,'Person') and equals(attributes.CustomerId,'4352425')",<o:p></o:p>
"connections": [<o:p></o:p>
{<o:p></o:p>
"outRelations": [<o:p></o:p>
{<o:p></o:p>
"uri": "configuration/relationTypes/PersonToContract1"<o:p></o:p>
},<o:p></o:p>
{<o:p></o:p>
"uri": "configuration/relationTypes/PersonToContract2"<o:p></o:p>
},<o:p></o:p>
{<o:p></o:p>
"uri": "configuration/relationTypes/PersonToContract3"<o:p></o:p>
},<o:p></o:p><o:p></o:p>
],<o:p></o:p>
"filter": "equals(type,'Contract') and equals(attributes.policyNumber,'GAB12435')"<o:p></o:p>
}<o:p></o:p>
]<o:p></o:p>
}<o:p></o:p>
Response:
{
"entities": [
{
"uri": "entities/ytyt65",
"type": "configuration/entityTypes/Person",
"attributes": {
.....
},
"crosswalks": [
{
..........
}
]
}
]
}
------------------------------
sayan mallick
Aviva
------------------------------