AddRelationship enables you to add a relationship between two entities.
The request identifies the HM configuration and hierarchy, the relationship type, the records, and a number of optional parameters. Note that this request cannot be used to add a new Relationship with Foreign Key Relationship Type because adding a FK Relationship really involves updating an existing record in the FK Relationship Base Object. For more information, see
UpdateRelationship.
The response contains the record key for the added relationship. Informatica MDM Hub infers the types of the entities being related (and thus the base objects containing those entities) from the relationship type.
Use Case
This is the common scenario for using the addRelationship request:
Add a relationship between two HM entities
— If you have Hierarchy Manager and have populated it with entities, you can use the addRelationship request to create a relationship between two entities.