Hi Jayaprakash ,
Thanks for the inputs. We tried above mentioned options suggested and here are the inputs.
{{tenant_url}}/activities?filter=equals(items.objectUri,'entities/abcvdfsdf') this will give the history of changes which profile undergone -
Object uri and type with what datatype information is given{{tenant_url}}/entities/abcvdfsdf/_activities?filter=(gte(timestamp,'1651306992810'))&offset=0&max=25 this will give the activity of certain time or range. here used greated than operator -
only event id's are getting retrieved , example - ENTITY_CHANGED{{tenant_url}}/entities/abcvdfsdf/_changes - this will give you the timestamp of the profile changes were made and user -
timestamp details are only retreived{{tenant_url}}/entities/abcvdfsdf?time=1562594203554 this will give the snapshot of certain time from above api -
WorkingThanks for the inputs !!!
------------------------------
Chetan P
Freshworks
------------------------------
Original Message:
Sent: 05-20-2022 09:17
From: Jayaprakash Kanagaraj
Subject: API call for History records | Entity
Hi Chetan,
{{tenant_url}}/activities?filter=equals(items.objectUri,'entities/abcvdfsdf') this will give the history of changes which profile undergone.
{{tenant_url}}/entities/abcvdfsdf/_activities?filter=(gte(timestamp,'1651306992810'))&offset=0&max=25 this will give the activity of certain time or range. here used greated than operator.
{{tenant_url}}/entities/abcvdfsdf/_changes - this will give you the timestamp of the profile changes were made and user.
{{tenant_url}}/entities/abcvdfsdf?time=1562594203554 this will give the snapshot of certain time from above api.
Hope this can help you or shall wait community to respond information you need,
thanks,
Jayaprakash.
------------------------------
Jayaprakash Kanagaraj
GSK
Original Message:
Sent: 05-19-2022 09:35
From: Chetan P
Subject: API call for History records | Entity
I Have a requirement to get data for a profile along with its history in api.
A step back -
In any entity, we can track history using "Activity log" where we can manually see its current records & also its history in the front end.
Went through the APIs as well, but not able to get the right solution for the problem.
Need is - Looking for an API where we can retrieve the entire history for an entity with all the attributes.
I looked into below documents as well.
API Details for MDM (Data) ServicesReltio | remove preview |
| API Details for MDM (Data) Services | data.entities.merge POST /entities/{id}/_sameAs EXECUTE data.helper.activeness /api/{tenantId}/{objectType}/{objectId}/activeness/ /api/{tenantId}/{objectType}/{objectId}/activeness//endDate ... | View this on Reltio > |
|
|
------------------------------
Chetan P
Freshworks
------------------------------