How to fetch analytics attribute information for a particular Entity Type using normal attributes

Problem

I know that I have to add analyticsAttributes in the "select" parameter to fetch analytics attributes. But how can I fetch analytics attribute information for one particular Entity Type using normal attributes (in other words, without using the Analytics Attribute) in the search criteria?

Solution

The example below shows how to fetch attributes for analytic attributes. Note that you can tweak the select parameters for whatever attributes you want in your response.

https://{Environment URL}/reltio/api/{tenantId}/entities?filter=(equals(type,'configuration/entityTypes/Consumer2') and equalsCaseSensitive(attributes.FirstName, 'TestUser') )&select=uri,crosswalks,attributes,analyticsAttributes

 You can use the below API to retrieve both normal attributes and analytics attributes:

https://{Environment URL}/reltio/api/{tenantId}/entities?filter=(equals(type,'configuration/entityTypes/Consumer2') and equalsCaseSensitive(attributes.FirstName, 'TestUser') )&select=uri,attributes,analyticsAttributes

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.