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

Booking Service Schema

Schema-ID
booking_service
Collection
booking_services
Permissions
  • Lezenbooking_service_view
  • Aanmakenbooking_service_create
  • Wijzigenbooking_service_edit
  • Verwijderenbooking_service_delete

Velden

Booking Service Schema

booking_services4 permissions

Schema for validating booking service entities

namestringvereist

Service name

1–200 tekens
descriptionstringoptioneel

Optional service description (unbounded free text)

nullable
systemKeystringoptioneel

Marker for auto-provisioned, internal-only system services (e.g. "project_meeting"). Used to look up / lazily create a tenant-wide shared service. Null for normal user-created services.

max. 64 tekensnullable
durationMinutesintegervereist

Appointment duration in minutes, 5-minute grid up to 8 h (ADR 1026; before: only 15/30/45/60/90/120)

5 – 480Veelvoud van 5
bufferBeforeMinutesintegeroptioneel

Buffer time before the appointment in minutes

0 – 480Default: 0
bufferAfterMinutesintegeroptioneel

Buffer time after the appointment in minutes

0 – 480Default: 0
priceintegeroptioneel

Price in cents

≥ 0nullable
currencystringoptioneel

Currency code (ISO 4217)

max. 3 tekensDefault: "EUR"
priceDisplayModestringoptioneel

How the price is displayed to the customer

showhideon_request
Default: "show"
locationobjectoptioneel

Where the appointment takes place

nullable
typestringvereist

Location type

on_siteremotephonecustom
valuestringoptioneel

Location value (address, URL, phone number, etc.)

max. 500 tekensnullable
assignedUserIdsuuid[]vereist

User IDs that can be booked for this service

min. 1 items
assignmentModestringvereist

How a user is assigned to a booking

any_availablecustomer_choosessmart_assign
maxConcurrentBookingsintegeroptioneel

Maximum concurrent bookings per time slot

1 – 10Default: 1
autoConfirmbooleanoptioneel

Automatically confirm bookings without manual approval

Default: true
requiresApprovalbooleanoptioneel

Whether bookings require manual approval

Default: false
isActivebooleanoptioneel

Whether the service is active and bookable

Default: true
colorstringoptioneel

Hex color for calendar display (e.g. #FF5733)

max. 7 tekensnullable
categoryIduuidoptioneel

Category ID for grouping services

nullable
imageFileIduuidoptioneel

File ID for the service image

nullable
onlineMeetingProviderstringoptioneel

Online meeting provider for remote appointments

teamszoomgoogle_meet
nullable
reminderConfigobjectoptioneel

Reminder configuration

enabledbooleanvereist

Whether reminders are enabled

emailBeforeinteger[]optioneel

Minutes before appointment to send email reminders

Default: []
cancellationPolicyobjectoptioneel

Cancellation and rescheduling policy

allowCancellationbooleanvereist

Whether customers can cancel bookings

minHoursBeforeintegeroptioneel

Minimum hours before appointment to allow cancellation

0 – 720Default: 24
allowReschedulebooleanoptioneel

Whether customers can reschedule bookings

Default: true
rescheduleMinHoursBeforeintegeroptioneel

Minimum hours before appointment to allow rescheduling

0 – 720Default: 24
isGroupBookingbooleanoptioneel

Whether this service supports group bookings (multiple participants per slot)

Default: false
maxParticipantsintegeroptioneel

Maximum participants per slot (only relevant when isGroupBooking=true)

2 – 100nullable
minParticipantsintegeroptioneel

Minimum participants for the booking to take place

1 – 100nullable
registrationDeadlineHoursintegeroptioneel

Hours before start after which registration closes

0 – 720nullable
followUpConfigobjectoptioneel

Follow-up email configuration after appointment

nullable
enabledbooleanoptioneel
Default: false
delayHoursintegeroptioneel

Hours after appointment end to send follow-up

1 – 168Default: 24
includeNpsbooleanoptioneel

Include NPS rating question in follow-up email

Default: false
customMessagestringoptioneel

Custom follow-up message (HTML)

nullable
customFieldsobject[]optioneel

Custom intake form fields

Default: []
idstringvereist

Unique field identifier

1–50 tekens
typestringvereist

Field input type

texttextareadropdowncheckboxnumberemailphone
labelobjectvereist

i18n labels (e.g. { de: "Name", en: "Name" })

placeholderobjectoptioneel

i18n placeholders

nullable
requiredbooleanvereist

Whether the field is required

optionsobject[]optioneel

Dropdown options

nullable
valuestringoptioneel
labelobjectoptioneel

i18n labels for option

validationobjectoptioneel

Validation rules

nullable
minLengthintegeroptioneel
maxLengthintegeroptioneel
minnumberoptioneel
maxnumberoptioneel
patternstringoptioneel

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

Zoeken