API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · service_catalog_items

Service Catalog Item Schema

Schema-ID
service_catalog_item
Collection
service_catalog_items
Permissions
  • Lezenservice_catalog_item_view
  • Aanmakenservice_catalog_item_create
  • Wijzigenservice_catalog_item_edit
  • Verwijderenservice_catalog_item_delete

Velden

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.

customerPartyIduuidvereist

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

sampleOriginstringoptioneel

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

max. 100 tekensDefault: nullread-onlynullable
titlestringvereist
1–200 tekens
descriptionstringoptioneel
max. 4000 tekensDefault: nullnullable
categorystringoptioneel

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

max. 100 tekensDefault: nullnullable
iconKeystringoptioneel

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

max. 60 tekensDefault: nullnullable
formSchemaobjectoptioneel

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

approvalRequiredbooleanoptioneel

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

Default: false
approvalChainTemplateIdstringoptioneel

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

PatternDefault: nullnullable
approvalStepsInlineobject[]optioneel

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: []
approverDslstringvereist
1–1000 tekens
modestringvereist
one_ofall_of
slaHoursnumberoptioneel
≥ 0Default: nullnullable
notifyChannelsstring[]optioneel
Default: []
conditionsobject[]optioneel
Default: []
fieldKeystringvereist
1–200 tekens
operatorstringvereist
eqneqgtgteltltecontainsis_emptyis_not_empty
valueanyoptioneel
fulfillmentTypestringvereist
manual_ticketaccess_grantlicense_assignmentautomationinfo_only
fulfillmentConfigobjectoptioneel

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: {}
automationIdstringoptioneel

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

1–100 tekensDefault: nullnullable
automationFailurePrioritystringoptioneel

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

lownormalhighurgent
visibilityRulesobjectoptioneel
Default: {}
visibleToAllContactsbooleanoptioneel
Default: true
visibleToShopRoleIdsuuid[]optioneel
Default: []
visibleToOrgUnitIdsuuid[]optioneel
Default: []
onUnresolvableApproverstringoptioneel
skipfallback_to_msp_ownerfail
Default: "fallback_to_msp_owner"
fallbackApproverUserIdstringoptioneel

Required when onUnresolvableApprover=fallback_to_msp_owner.

PatternDefault: nullnullable
slaPolicyIdstringoptioneel
PatternDefault: nullnullable
costCenterRequiredbooleanoptioneel
Default: false
pricingobjectoptioneel
Default: nullnullable
statusstringoptioneel
draftactivearchived
Default: "draft"

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/service_catalog_items — Lijst, gepagineerd + filterbaar
  • GET /api/v1/service_catalog_items/<id> — Enkele entity
  • POST /api/v1/service_catalog_items — Aanmaken
  • PATCH /api/v1/service_catalog_items/<id> — Gedeeltelijke update
  • DELETE /api/v1/service_catalog_items/<id> — Soft-delete
  • GET /api/v1/service_catalog_items/<id>/timeline — Audit + activiteiten

Zoeken