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

Pool Resource Schema

Schema-ID
pool_resource
Collection
pool_resources
Permissions
  • Lezenpool_resource_view
  • Aanmakenpool_resource_create
  • Wijzigenpool_resource_edit
  • Verwijderenpool_resource_delete

Velden

Pool Resource Schema

pool_resources4 permissions

Schema for validating pool resource entities (Pool-Geräte, Werkzeuge, Räume)

namestringvereist

Resource name

1–200 tekens
categorystringvereist

Resource category

POOL_DEVICETOOLROOM
statusstringvereist

Current resource status

AVAILABLEIN_USEMAINTENANCEDEFECTIVERETIRED
Default: "AVAILABLE"
descriptionstringoptioneel

Detailed description

max. 2000 tekensnullable
locationDescriptionstringoptioneel

Free-text location description

max. 500 tekensnullable
locationIduuidoptioneel

Reference to a location entity

nullable
resourceNumberstringoptioneel

Auto-generated resource number (e.g. RES-2026-00001). Sequence-managed.

max. 50 tekensread-onlynullable
serialNumberstringoptioneel

Serial number

max. 100 tekensnullable
inventoryNumberstringoptioneel

Internal inventory number

max. 100 tekensnullable
manufacturerstringoptioneel

Manufacturer name

max. 100 tekensnullable
modelstringoptioneel

Model name

max. 100 tekensnullable
purchaseDatedateoptioneel

Purchase date (YYYY-MM-DD)

nullable
purchasePricenumberoptioneel

Purchase price

≥ 0nullable
linkedAssetIduuidoptioneel

Optional link to an IT asset in the CMDB

nullable
bookingModestringoptioneel

How this resource can be booked

HOURLYHALF_DAYFULL_DAY
Default: "HOURLY"
venueBookablebooleanoptioneel

Bookable like a room in the venue occupancy plan (options, waiting list, set-up/tear-down). Rooms are always bookable; other categories opt in. Missing = false.

capacityintegeroptioneel

Person capacity (rooms)

≥ 1nullable
equipmentstring[]optioneel

Room equipment (e.g. projector, whiteboard)

Default: []
floorAreanumberoptioneel

Room floor area in square meters

≥ 0nullable
floorstringoptioneel

Floor / level where the room is located

max. 50 tekensnullable
isAccessiblebooleanoptioneel

Whether the room is wheelchair-accessible / barrier-free

Default: false
openingHoursobjectoptioneel

Room opening hours (bookings must fall within)

nullable
startstringvereist

HH:mm

Pattern
endstringvereist

HH:mm

Pattern
bufferMinutesintegeroptioneel

Buffer time in minutes before/after each booking (setup/teardown)

0 – 120nullable
slotDurationMinutesintegeroptioneel

Fixed time slot duration in minutes (e.g. 30, 60)

15 – 480nullable
maxBookingMinutesintegeroptioneel

Maximum booking duration in minutes

≥ 15nullable
requiresCleaningbooleanoptioneel

Whether the room requires cleaning after each use

Default: false
cateringAvailablebooleanoptioneel

Whether catering can be ordered for this room

Default: false
cateringNotesstringoptioneel

Notes about available catering options

max. 1000 tekensnullable
additionalServicesstring[]optioneel

Additional services available for this room (e.g. technical support)

Default: []
allowRecurringbooleanoptioneel

Whether recurring bookings are allowed for this room

Default: false
tagsstring[]optioneel

Tags for filtering

Default: []
responsibleUserIduuidoptioneel

User responsible for maintenance / contact person

nullable
notesstringoptioneel

Internal notes

max. 5000 tekensnullable
imageFileIdsstring[]optioneel

File IDs of resource photos

Default: []

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

Zoeken