Service Catalog Item Schema
Champs
Service Catalog Item Schema
Anforderbares Catalog-Item im Customer-Portal. Per-Customer konfiguriert mit dynamischem Formular (formSchema), optionaler Approval-Chain (Step-Builder DSL), Visibility-Rules und einem Fulfillment-Typ. Approval-State wird beim Antrag (service_request) als embedded Array eingefroren — Items selbst tragen nur die Konfigurations-Vorlage.
customerPartyId
FK customer ORGANIZATION party (isCustomer=true). Always set.
sampleOrigin
Slug of the sample-library entry this item was cloned from. Audit/telemetry only — no live link.
title
description
category
Free-text category for portal grouping (e.g. "Software", "Berechtigungen").
iconKey
Key from Icons.tsx (e.g. "PackageIcon"). Frontend falls back to a default.
formSchema
JSON-Schema-Subset for the dynamic request form. Phase 1 acceptance: object with properties + optional required[]. The frontend renders the form from this shape.
approvalRequired
Master toggle. When false, requests skip pending_approval and go straight to in_fulfillment.
approvalChainTemplateId
Optional FK to approval_chain_templates (Phase 4). Mutually exclusive with approvalStepsInline.
approvalStepsInline
Inline approval steps when no template is referenced. Items are produced by the visual step-builder UI; the approverDsl string is the serialized expression (FIXED_PERSON, CUSTOMER_MANAGER, etc. — see approver-resolver service).
approverDsl
mode
one_ofall_ofslaHours
notifyChannels
fulfillmentType
manual_ticketaccess_grantlicense_assignmentautomationinfo_onlyfulfillmentConfig
Type-dependent config. For manual_ticket: ticketQueueId, ticketDefaultOwnerUserId, ticketPriority, ticketTitleTemplate, ticketBodyTemplate (Mustache). For info_only: infoMarkdown, kbArticleId. For automation (ADR 1222): automationId (workflow_definitions._id with a manual trigger; null = manual ticket fallback) and automationFailurePriority (priority of the fallback ticket when the run fails).
automationId
workflow_definitions._id started after approval (fulfillmentType automation). Must be active, same tenant and carry a manual trigger — checked on write.
automationFailurePriority
Priority of the fallback ticket when the automation fails. Default high.
lownormalhighurgentvisibilityRules
visibleToAllContacts
visibleToShopRoleIds
visibleToOrgUnitIds
onUnresolvableApprover
skipfallback_to_msp_ownerfailfallbackApproverUserId
Required when onUnresolvableApprover=fallback_to_msp_owner.
slaPolicyId
costCenterRequired
pricing
status
draftactivearchivedAucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/service_catalog_items— Liste, paginée et filtrableGET /api/v1/service_catalog_items/<id>— Une entitéPOST /api/v1/service_catalog_items— CréerPATCH /api/v1/service_catalog_items/<id>— Mise à jour partielleDELETE /api/v1/service_catalog_items/<id>— Suppression logiqueGET /api/v1/service_catalog_items/<id>/timeline— Audit et activités