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

Portal Link Schema

Schema-ID
portal_link
Collection
portal_links
Permissions
  • Lezenportal_link_view
  • Aanmakenportal_link_create
  • Wijzigenportal_link_edit
  • Verwijderenportal_link_delete

Velden

Portal Link Schema

portal_links4 permissions

Schema for links a service provider offers its customers in the customer portal, optionally targeted at organisations or customer roles

titlestringvereist

Link label shown to the customer

1–80 tekens
urlstringvereist

Target: https://<host>…, mailto:… or tel:… (anything else is rejected)

1–2048 tekens
descriptionstringoptioneel

Optional one-line explanation

max. 120 tekensnullable
categorystringvereist

Free-text group; categories are ordered by the smallest sortOrder inside

1–40 tekens
iconTypestringoptioneel

Show the site favicon or a built-in icon

faviconicon
iconNamestringoptioneel

Built-in icon (iconType "icon")

globedownloadkeycloudshieldphonelifebookmailfilenull
nullable
faviconDataUrlstringoptioneel

Favicon as base64 image data URL (iconType "favicon")

max. 90000 tekensPatternnullable
sortOrdernumberoptioneel

Ascending display order

activebooleanoptioneel

false = draft, invisible to customers

visibleFromdatetimeoptioneel

Visible from (ISO); null = immediately

nullable
visibleUntildatetimeoptioneel

Visible until (ISO); null = unlimited

nullable
audienceModestringoptioneel

all customers, selected organisations, or selected customer roles

allpartiesroles
audiencePartyIdsstring[]optioneel

Organisation party ids (audienceMode "parties")

max. 500 items
audienceRoleIdsstring[]optioneel

Customer role ids, role_definitions with isCustomerRole (audienceMode "roles")

max. 500 items
clicks30dnumberoptioneel

Read-only: clicks of the last 30 days

read-only
clicksByDayobjectoptioneel

Server-managed click counter per tenant-local day; never client-written

read-only

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

Zoeken