Update a relationship link
Updates an existing relationship link where the relationship type has an internal bridge table.
1{2 "relationshipTypeName": "string",3 "relationshipTypeVersion": "string",4 "relationshipTypeLabel": "string",5 "id": "string",6 "qualifiedTypeName": "string",7 "fromObjectTypeName": "string",8 "fromObjectTypeVersion": -9223372036854776000,9 "fromObjectId": "string",10 "fromObjectDisplayLabel": "string",11 "toObjectTypeName": "string",12 "toObjectTypeVersion": -9223372036854776000,13 "toObjectId": "string",14 "toObjectDisplayLabel": "string",15 "validFrom": "2019-08-24T14:15:22Z",16 "validTo": "2019-08-24T14:15:22Z",17 "createdAt": "2019-08-24T14:15:22Z",18 "lastUpdatedAt": "2019-08-24T14:15:22Z",19 "@type": "string"20}
| Name | Type | Required | Description |
|---|---|---|---|
_id | string | true | The ID for an individual link. A link ID uses the following format:
Link ID component details:
When submitting the request, the pipe character ( |
_includeEntityLabels | boolean | false | Compute and include display labels for both to and from documents in the response. Default: false |
An object that represents the link.
A link between two documents as defined by a relationship type.
| Name | Type | Required | Description |
|---|---|---|---|
relationshipTypeName | string | false | The name of the relationship type that defines this link. |
relationshipTypeVersion | string | false | The internal Data Hub version of the relationship type. |
relationshipTypeLabel | string | false | The display label for the relationship type. |
id | string | false | The ID of the link. |
qualifiedTypeName | string | false | The qualified name of the relationship type. Qualified names are in the format: fromObjectTypeName + "__" + relationshipTypeName. |
fromObjectTypeName | string | false | The entity type name for the "From" side of the relationship type. |
fromObjectTypeVersion | integer<int64> | false | The internal Data Hub version for the entity type for the "From" side of the relationship type. |
fromObjectId | string | false | The document ID for the "From" side of the relationship type. |
fromObjectDisplayLabel | string | false | The display label for the document on the "From" side of the relationship type. |
toObjectTypeName | string | false | The entity type name for the "To" side of the relationship type. |
toObjectTypeVersion | integer<int64> | false | The internal Data Hub version for the entity type for the "To" side of the relationship type. |
toObjectId | string | false | The document ID for the "To" side of the relationship type. |
toObjectDisplayLabel | string | false | The display label for the document on the "To" side of the relationship type. |
validFrom | string<date-time> | false | The timestamp value that indicates the starting datetime for when the link is valid. |
validTo | string<date-time> | false | The timestamp value that indicates the ending datetime for when the link is valid. |
createdAt | string<date-time> | false | The timestamp value that indicates when this link was created. |
lastUpdatedAt | string<date-time> | false | The timestamp value that indicates when this link was last modified. |
@type | string | false | Data type that describes the link object. The value is always "DocumentLink". |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | The request was invalid. | Schema | |
| 404 | Not Found | Unable to find the link. | Schema | |
| 412 | Precondition Failed | The link in the request body was out of date. | Schema | |
| 428 | Precondition Required | The link in the request body did not contain a version. | Schema |