Accelerate the Value of Data

Ignore a relationship's end-date

Learn about ignoring the end-date of a relationship.

Set the skipEndDatedReferenceAttributes attribute in your tenant to true if the relationships’ end-date must not be taken into account while creating the reference attribute. By default, the skipEndDatedReferenceAttributes attribute is set to false, which means that all reference attributes based on the end-dated relation must be taken into account. The reference attribute is disabled along with the corresponding relationship.

Request

PUT http://{{env_uri}}/reltio/tenants/{{tenantId}}/optionalParameters
{
    "skipEndDatedReferenceAttributes": true
}
Post relation:[
  {
    "type": "configuration/relationTypes/TestRelationship",
    "endDate": 963409535000,
    "startObject": {
      "crosswalks": [
        {
          "type": "configuration/sources/LNKD",
          "value": "organization"
        }
      ]
    },
    "endObject": {
      "crosswalks": [
        {
          "type": "configuration/sources/LNKD",
          "value": "individual"
        }
      ]
    },
    "crosswalks": [
      {
        "type": "configuration/sources/LNKD",
        "value": "relXw"
      }
    ]
  }
]

Response

[
    {
        "index": 0,
        "object": {
            "uri": "relations/7r9h0YC",
            "type": "configuration/relationTypes/TestRelationship",
            "createdBy": "abc@xyz.com",
            "createdTime": 1663586108243,
            "updatedBy": "abc@xyz.com",
            "updatedTime": 1663586108243,
            "endDate": 963409535000,
            "startRefPinned": false,
            "startRefIgnored": false,
            "endRefPinned": false,
            "endRefIgnored": false,
            "attributes": {},
            "crosswalks": [
                {
                    "uri": "relations/7r9h0YC/crosswalks/ws5tHJ2G",
                    "type": "configuration/sources/LNKD",
                    "value": "relXw",
                    "reltioLoadDate": "2022-09-19T11:15:08.243Z",
                    "createDate": "2022-09-19T11:15:08.243Z",
                    "updateDate": "2022-09-19T11:15:08.243Z",
                    "attributes": [],
                    "singleAttributeUpdateDates": {}
                }
            ],
            "startObject": {
                "type": "configuration/entityTypes/Organization",
                "objectURI": "entities/6B7FQXE",
                "label": "OrganizationValue",
                "directionalLabel": "Organization",
                "crosswalks": [
                    {
                        "uri": "entities/6B7FQXE/crosswalks/aixsyGoG",
                        "type": "configuration/sources/LNKD",
                        "value": "organization",
                        "reltioLoadDate": "2022-09-19T11:14:51.575Z",
                        "createDate": "2022-09-19T11:14:51.575Z",
                        "updateDate": "2022-09-19T11:14:51.575Z",
                        "attributes": [
                            "entities/6B7FQXE/attributes/Name/aixsyCY0"
                        ],
                        "singleAttributeUpdateDates": {}
                    }
                ]
            },
            "endObject": {
                "type": "configuration/entityTypes/Individual",
                "objectURI": "entities/9dJzpg0",
                "label": "",
                "directionalLabel": "Individual",
                "crosswalks": [
                    {
                        "uri": "entities/9dJzpg0/crosswalks/ws5tHEm0",
                        "type": "configuration/sources/LNKD",
                        "value": "individual",
                        "reltioLoadDate": "2022-09-19T11:13:47.614Z",
                        "createDate": "2022-09-19T11:13:47.614Z",
                        "updateDate": "2022-09-19T11:13:47.614Z",
                        "attributes": [
                            "entities/9dJzpg0/attributes/Name/ws5tHAVk"
                        ],
                        "singleAttributeUpdateDates": {}
                    }
                ]
            }
        },
        "successful": true
    }
]

If you want to see all reference attributes that have the relationship's end date, use the showEndDatedReferenceAttributes in your request query.

Request

Get {{api_uri}}/{{tenant}}/entities/9dJzpg0?options=showEndDatedReferenceAttributes

Response

{
    "uri": "entities/9dJzpg0",
    "type": "configuration/entityTypes/Individual",
    "createdBy": "abc@xyz.com",
    "createdTime": 1663586027614,
    "updatedBy": "abc@xyz.com",
    "updatedTime": 1663586108243,
    "attributes": {
        "Name": [
            {
                "type": "configuration/entityTypes/Individual/attributes/Name",
                "ov": true,
                "value": "IndividualValue",
                "uri": "entities/9dJzpg0/attributes/Name/ws5tHAVk"
            }
        ],
        "Organization": [
            {
                "label": "OrganizationValue",
                "relationshipLabel": "",
                "value": {
                    "Name": [
                        {
                            "type": "configuration/entityTypes/Organization/attributes/Name",
                            "ov": true,
                            "value": "OrganizationValue",
                            "uri": "entities/9dJzpg0/attributes/Organization/7r9h0YC/Name/aixsyCY0"
                        }
                    ]
                },
                "ov": true,
                "uri": "entities/9dJzpg0/attributes/Organization/7r9h0YC",
                "refEntity": {
                    "type": "configuration/entityTypes/Organization",
                    "crosswalks": [
                        {
                            "uri": "entities/9dJzpg0/crosswalks/6B7FQXE.aixsyGoG",
                            "type": "configuration/sources/LNKD",
                            "value": "organization",
                            "createDate": "2022-09-19T11:14:51.575Z",
                            "updateDate": "2022-09-19T11:14:51.575Z",
                            "attributeURIs": [
                                "entities/9dJzpg0/attributes/Organization/7r9h0YC",
                                "entities/9dJzpg0/attributes/Organization/7r9h0YC/Name/aixsyCY0"
                            ]
                        }
                    ],
                    "objectURI": "entities/6B7FQXE"
                },
                "refRelation": {
                    "type": "configuration/relationTypes/TestRelationship",
                    "crosswalks": [
                        {
                            "uri": "entities/9dJzpg0/crosswalks/7r9h0YC.ws5tHJ2G",
                            "type": "configuration/sources/LNKD",
                            "value": "relXw",
                            "createDate": "2022-09-19T11:15:08.243Z",
                            "updateDate": "2022-09-19T11:15:08.243Z"
                        }
                    ],
                    "startRefPinned": false,
                    "endRefPinned": false,
                    "startRefIgnored": false,
                    "endRefIgnored": false,
                    "objectURI": "relations/7r9h0YC"
                },
                "startObjectCrosswalks": [
                    {
                        "type": "configuration/sources/LNKD",
                        "value": "organization"
                    }
                ],
                "endObjectCrosswalks": [
                    {
                        "type": "configuration/sources/LNKD",
                        "value": "individual"
                    }
                ]
            }
        ]
    },
    "isFavorite": false,
    "crosswalks": [
        {
            "uri": "entities/9dJzpg0/crosswalks/ws5tHEm0",
            "type": "configuration/sources/LNKD",
            "value": "individual",
            "reltioLoadDate": "2022-09-19T11:13:47.614Z",
            "createDate": "2022-09-19T11:13:47.614Z",
            "updateDate": "2022-09-19T11:13:47.614Z",
            "attributes": [
                "entities/9dJzpg0/attributes/Name/ws5tHAVk"
            ],
            "singleAttributeUpdateDates": {}
        }
    ],
    "analyticsAttributes": {},
    "label": "",
    "secondaryLabel": ""
}