API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · service_catalog_items

Service Catalog Item Schema

Schema ID
service_catalog_item
Collection
service_catalog_items
Permissions
  • Readservice_catalog_item_view
  • Createservice_catalog_item_create
  • Editservice_catalog_item_edit
  • Deleteservice_catalog_item_delete

Fields

Service Catalog Item Schema

service_catalog_items4 permissions

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.

customerPartyIduuidrequired

FK customer ORGANIZATION party (isCustomer=true). Always set.

sampleOriginstringoptional

Slug of the sample-library entry this item was cloned from. Audit/telemetry only — no live link.

max 100 charactersDefault: nullread-onlynullable
titlestringrequired
1–200 characters
descriptionstringoptional
max 4000 charactersDefault: nullnullable
categorystringoptional

Free-text category for portal grouping (e.g. "Software", "Berechtigungen").

max 100 charactersDefault: nullnullable
iconKeystringoptional

Key from Icons.tsx (e.g. "PackageIcon"). Frontend falls back to a default.

max 60 charactersDefault: nullnullable
formSchemaobjectoptional

JSON-Schema-Subset for the dynamic request form. Phase 1 acceptance: object with properties + optional required[]. The frontend renders the form from this shape.

approvalRequiredbooleanoptional

Master toggle. When false, requests skip pending_approval and go straight to in_fulfillment.

Default: false
approvalChainTemplateIdstringoptional

Optional FK to approval_chain_templates (Phase 4). Mutually exclusive with approvalStepsInline.

PatternDefault: nullnullable
approvalStepsInlineobject[]optional

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).

Default: []
approverDslstringrequired
1–1000 characters
modestringrequired
one_ofall_of
slaHoursnumberoptional
≥ 0Default: nullnullable
notifyChannelsstring[]optional
Default: []
conditionsobject[]optional
Default: []
fieldKeystringrequired
1–200 characters
operatorstringrequired
eqneqgtgteltltecontainsis_emptyis_not_empty
valueanyoptional
fulfillmentTypestringrequired
manual_ticketaccess_grantlicense_assignmentautomationinfo_only
fulfillmentConfigobjectoptional

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).

Default: {}
automationIdstringoptional

workflow_definitions._id started after approval (fulfillmentType automation). Must be active, same tenant and carry a manual trigger — checked on write.

1–100 charactersDefault: nullnullable
automationFailurePrioritystringoptional

Priority of the fallback ticket when the automation fails. Default high.

lownormalhighurgent
visibilityRulesobjectoptional
Default: {}
visibleToAllContactsbooleanoptional
Default: true
visibleToShopRoleIdsuuid[]optional
Default: []
visibleToOrgUnitIdsuuid[]optional
Default: []
onUnresolvableApproverstringoptional
skipfallback_to_msp_ownerfail
Default: "fallback_to_msp_owner"
fallbackApproverUserIdstringoptional

Required when onUnresolvableApprover=fallback_to_msp_owner.

PatternDefault: nullnullable
slaPolicyIdstringoptional
PatternDefault: nullnullable
costCenterRequiredbooleanoptional
Default: false
pricingobjectoptional
Default: nullnullable
statusstringoptional
draftactivearchived
Default: "draft"

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/service_catalog_items — List, paginated + filterable
  • GET /api/v1/service_catalog_items/<id> — Single entity
  • POST /api/v1/service_catalog_items — Create
  • PATCH /api/v1/service_catalog_items/<id> — Partial update
  • DELETE /api/v1/service_catalog_items/<id> — Soft delete
  • GET /api/v1/service_catalog_items/<id>/timeline — Audit + activities

Search