post https://customer.my.onetrust.com/api/inventory-linking/v1/relationship
Use this API to create the relationship between the given entities entity1
and entity2
using the given relationshipTypeName
.
Additional Information
The API returns an exception if:
-
The selected Relationship Type is not valid for the combination of the entities chosen.
-
The same entity is chosen as
entity1
andentity2
.
Example Request
POST https://{hostname}/api/inventory-linking/v1/relationship
POST https://trial.onetrust.com/api/inventory-linking/v1/relationship