get_links
Get all resolved links for an entity. Returns linked items with container code, item sequence, and item name.| Property | |
|---|---|
| Read-only | Yes |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityId | string | Yes | The entity ID to get links for (e.g. item ID). |
Returns
A list ofLinkDto objects, each containing:
linkId— unique link identifierlinkType— relationship type (e.g. Blocks, Related)containerCode— container code of the linked itemitemId— linked item IDitemSequence— linked item sequence numberitemName— linked item name
create_link
Create a link between two items.| Property | |
|---|---|
| Read-only | No |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
linkType | string | Yes | Relationship type (e.g. Blocks, Related). |
fromOwnerId | string | Yes | Source item ID. |
toOwnerId | string | Yes | Target item ID. |
Returns
The createdLinkDto.
delete_link
Delete a link by its ID.| Property | |
|---|---|
| Read-only | No |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
linkId | string | Yes | The link ID. Use get_links. |