Return an array of entity IDs linked using the given link type to the given source or destination entity ID.
API method:
GET
/v1/getLinkedEntitiesEx
Examples
Input:
{ "linkType": "UniqueLinkTypeName", "sourceEntityId": 81253 }
Output:
[23125]
OR
Input:
{ "linkType": "UniqueLinkTypeName", "destinationEntityId": 23125 }
Output:
[81253]
Parameters
- linkType—enter a unique name for the user-defined link.
- sourceEntityId—enter the source entity ID.
- destinationEntityId— enter the destination entity ID.
Note:
- You must provide either sourceEntityId or destinationEntityId but not both.
- You cannot retrieve a name that is a reserved link type name. For a list of reserved link type names, refer to Reference: Reserved link type names.