Hi Karthik,
In my opinion endDate is the metadata attribute which is updated by system when all the crosswalks of the record are inactive. You could achieve this by populating past delete date for each contributor of the record.
I would recommend the first approach itself, however here is another way to achieve this is via post call
POST {{tenantURL}}/entities
[
{
"type": "configuration/entityTypes/HCP",
"endDate": 1725215400000,
"crosswalks": [
{
"value": "VfOLhG9",
"type": "configuration/sources/Reltio"
}
]
}
]
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
------------------------------
Original Message:
Sent: 08-29-2024 00:51
From: Karthik karthik
Subject: Update enDate of a profile
Hi Experts,
We have a requirement to populate endDate based on few conditions and mark the profile as inActive.
I tried below api where i am getting Parsing error.
Api: PUT https://{tenantUrl}/reltio/api/{tenantId}/entities/{entityId}/activeness/endDate
Body:
{ "value": "2.10.1982" }
Can you please help me where i am going wrong in achieving this
------------------------------
Karthik
PWC
------------------------------