Entity relationship metadata messages

Entity relationships define how entities are related to each other. This includes information about how relationships are represented in the application. Also, when actions are performed on a record, the relationship indicates what actions to perform on related records.

The following table lists the messages that you can use to create, retrieve, update, and delete entity relationships.

Web API Organization Service Description
POST request on RelationshipDefinitions entity.
More information: Create a many-to-many relationship
CreateManyToManyRequest Creates a many-to-many relationship between two entities.
POST request on RelationshipDefinitions entity.
More information: Create a one-to-many relationship
CreateOneToManyRequest Creates a one-to-many relationship between two entities.
DELETE request on RelationshipDefinitions entity.
More information: Delete relationships
DeleteRelationshipRequest Deletes an entity relationship.
GET request on RelationshipDefinitions entity. RetrieveRelationshipRequest Retrieves an entity relationship.
PUT request on RelationshipDefinitions entity.
More information: Update relationships
UpdateRelationshipRequest Updates an entity relationship.

See also

Entity Relationship Eligibility
Configure entity relationship cascading behavior