Customer Org Unit Schema
Felder
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
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/customer_org_units— Liste, paginiert + filterbarGET /api/v1/customer_org_units/<id>— Einzelne EntityPOST /api/v1/customer_org_units— AnlegenPATCH /api/v1/customer_org_units/<id>— Teil-UpdateDELETE /api/v1/customer_org_units/<id>— Soft-DeleteGET /api/v1/customer_org_units/<id>/timeline— Audit + Aktivitäten