API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · service_catalog_items

Service Catalog Item Schema

ID del esquema
service_catalog_item
Colección
service_catalog_items
Permisos
  • Leerservice_catalog_item_view
  • Crearservice_catalog_item_create
  • Modificarservice_catalog_item_edit
  • Eliminarservice_catalog_item_delete

Campos

Service Catalog Item Schema

service_catalog_items4 permisos

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.

customerPartyIduuidobligatorio

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

sampleOriginstringopcional

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

máx. 100 caracteresValor por defecto: nullsolo lecturaadmite null
titlestringobligatorio
1–200 caracteres
descriptionstringopcional
máx. 4000 caracteresValor por defecto: nulladmite null
categorystringopcional

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

máx. 100 caracteresValor por defecto: nulladmite null
iconKeystringopcional

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

máx. 60 caracteresValor por defecto: nulladmite null
formSchemaobjectopcional

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

approvalRequiredbooleanopcional

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

Valor por defecto: false
approvalChainTemplateIdstringopcional

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

PatrónValor por defecto: nulladmite null
approvalStepsInlineobject[]opcional

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

Valor por defecto: []
approverDslstringobligatorio
1–1000 caracteres
modestringobligatorio
one_ofall_of
slaHoursnumberopcional
≥ 0Valor por defecto: nulladmite null
notifyChannelsstring[]opcional
Valor por defecto: []
conditionsobject[]opcional
Valor por defecto: []
fieldKeystringobligatorio
1–200 caracteres
operatorstringobligatorio
eqneqgtgteltltecontainsis_emptyis_not_empty
valueanyopcional
fulfillmentTypestringobligatorio
manual_ticketaccess_grantlicense_assignmentautomationinfo_only
fulfillmentConfigobjectopcional

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

Valor por defecto: {}
automationIdstringopcional

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

1–100 caracteresValor por defecto: nulladmite null
automationFailurePrioritystringopcional

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

lownormalhighurgent
visibilityRulesobjectopcional
Valor por defecto: {}
visibleToAllContactsbooleanopcional
Valor por defecto: true
visibleToShopRoleIdsuuid[]opcional
Valor por defecto: []
visibleToOrgUnitIdsuuid[]opcional
Valor por defecto: []
onUnresolvableApproverstringopcional
skipfallback_to_msp_ownerfail
Valor por defecto: "fallback_to_msp_owner"
fallbackApproverUserIdstringopcional

Required when onUnresolvableApprover=fallback_to_msp_owner.

PatrónValor por defecto: nulladmite null
slaPolicyIdstringopcional
PatrónValor por defecto: nulladmite null
costCenterRequiredbooleanopcional
Valor por defecto: false
pricingobjectopcional
Valor por defecto: nulladmite null
statusstringopcional
draftactivearchived
Valor por defecto: "draft"

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/service_catalog_items — Lista, paginada y filtrable
  • GET /api/v1/service_catalog_items/<id> — Una entidad
  • POST /api/v1/service_catalog_items — Crear
  • PATCH /api/v1/service_catalog_items/<id> — Actualización parcial
  • DELETE /api/v1/service_catalog_items/<id> — Eliminación lógica
  • GET /api/v1/service_catalog_items/<id>/timeline — Auditoría y actividades

Búsqueda