EntityRelationships
The links attached to one record, and creating new ones.
Create a relationship
Links two records — an employee to an employer, a branch to its parent. Endpoints are resolved to the surviving record, so a link made against a record that has since been merged lands on the survivor rather than being stranded. A relationship may carry a period, which is how a link that ended is kept as history instead of deleted. Requires `entity.relationship.create`.
List a record's relationships
Returns the relationships attached to one record, in either direction. Each carries the counterpart record and whether the link is active, expired or future-dated, so a closed employment does not read as a current one. Filter by state, or ask for the relationships that were in force on a given date. Requires `entity.relationship.read`.