Retrieve or modify the entity startDate and endDate
Learn how to manage startDate and endDate values in an entity
Reltio determines the activeness of an entity or a relationship using the startDate
and endDate
system date attributes. For more information, see topic Using Activeness. Manage these date attributes with the Entities.
Retrieve startDate
Use the Entities to get the start date.
Request
GET https://{tenantUrl}/reltio/api/{tenantId}/entities/{entityId}/activeness/startDate
Retrieve endDate
Use the Entities to get the end date.
Request
GET https://{tenantUrl}/reltio/api/{tenantId}/entities/{entityId}/activeness/endDate
Change startDate
Use the Entities to change the start date.
Request
PUT
https://{tenantUrl}/reltio/api/{tenantId}/entities/{entityId}/activeness/startDate{
"value": "1.1.1970"
}
Change endDate
Use the Entities to change the end date.
Request
PUT https://{tenantUrl}/reltio/api/{tenantId}/entities/{entityId}/activeness/endDate{
"value": "2.10.1982"
}
Overwrite endDate, startDate, and tags
Here's how the Entities determines whether to overwrite the endDate
, startDate
,
and tags
properties in an existing entity or relationship in the
following ways:
- If a property is present and its value isn't empty in the request, then the API overwrites the old value with the new value in the response.
- If a property is present and its value isn't empty (empty string for
endDate
andstartDate
and an empty array fortags
) in the reqeust, then the API removes this property from the existing entity and the response doesn't contain this property. - If a property is present but its value is empty in the incoming JSON, then the API doesn't change this property. The response contains the same value for this property as it did before the update.