Customer Org Unit Schema
Velden
Customer Org Unit Schema
Organizational unit (department/team/site) inside a customer organization. Lives in the MSP tenant and is anchored to a customer ORGANIZATION party via customerPartyId. Forms a tree via parentUnitId. Used by the customer org chart and as an addressing target for service-catalog approval workflows (CUSTOMER_OU_HEAD DSL).
customerPartyId
FK to the customer ORGANIZATION party this OU belongs to.
parentUnitId
FK to the parent customer_org_unit (same customerPartyId). null for the root unit. Exactly one root OU per customer is allowed.
name
Display name, e.g. "IT", "Vertrieb Nord", "Werk Hannover".
shortCode
Optional short code used in compact displays (e.g. "IT", "VTN").
headPersonPartyId
PERSON party that heads this OU. Must be linked to customerPartyId via party_relationship. Used by the CUSTOMER_OU_HEAD approver-DSL node.
costCenter
Free-text cost-center label used by the customer (informational only).
notes
Geen velden komen overeen met het filter.
Standaard-endpoints
Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:
GET /api/v1/customer_org_units— Lijst, gepagineerd + filterbaarGET /api/v1/customer_org_units/<id>— Enkele entityPOST /api/v1/customer_org_units— AanmakenPATCH /api/v1/customer_org_units/<id>— Gedeeltelijke updateDELETE /api/v1/customer_org_units/<id>— Soft-deleteGET /api/v1/customer_org_units/<id>/timeline— Audit + activiteiten