Add a person to a company with a relationship code
POST/v1/parties/relationships
Attach an INDIVIDUAL party to a COMPANY party with a relationship code (DIRECTOR, SECRETARY, etc.). Single party-to-party relationship per call.
The company party is identified by the partyId header (same pattern
as the other party-scoped connector endpoints — GET /v1/parties,
PUT /v1/parties). Platform validates upfront; the connector trusts
the dispatched payload and issues the underlying core-system call.
Request
Responses
- 201
- 400
- 401
- 500
- 501
Relationship added.
Schema validation failed (GEN000000) or Unsupported relationship type (PAR000010)
Missing or invalid authentication token (GEN001002)
Internal server error (GEN100000) or Service error (GEN100001)
Unmapped downstream fault (GEN101007).