API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · pool_resources

Pool Resource Schema

Schema-ID
pool_resource
Collection
pool_resources
Permissions
  • Lesenpool_resource_view
  • Anlegenpool_resource_create
  • Ändernpool_resource_edit
  • Löschenpool_resource_delete

Felder

Pool Resource Schema

pool_resources4 Permissions

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

namestringerforderlich

Resource name

1–200 Zeichen
categorystringerforderlich

Resource category

POOL_DEVICETOOLROOM
statusstringerforderlich

Current resource status

AVAILABLEIN_USEMAINTENANCEDEFECTIVERETIRED
Default: "AVAILABLE"
descriptionstringoptional

Detailed description

max 2000 Zeichennullable
locationDescriptionstringoptional

Free-text location description

max 500 Zeichennullable
locationIduuidoptional

Reference to a location entity

nullable
resourceNumberstringoptional

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

max 50 Zeichenread-onlynullable
serialNumberstringoptional

Serial number

max 100 Zeichennullable
inventoryNumberstringoptional

Internal inventory number

max 100 Zeichennullable
manufacturerstringoptional

Manufacturer name

max 100 Zeichennullable
modelstringoptional

Model name

max 100 Zeichennullable
purchaseDatedateoptional

Purchase date (YYYY-MM-DD)

nullable
purchasePricenumberoptional

Purchase price

≥ 0nullable
linkedAssetIduuidoptional

Optional link to an IT asset in the CMDB

nullable
bookingModestringoptional

How this resource can be booked

HOURLYHALF_DAYFULL_DAY
Default: "HOURLY"
capacityintegeroptional

Person capacity (rooms)

≥ 1nullable
equipmentstring[]optional

Room equipment (e.g. projector, whiteboard)

Default: []
floorAreanumberoptional

Room floor area in square meters

≥ 0nullable
floorstringoptional

Floor / level where the room is located

max 50 Zeichennullable
isAccessiblebooleanoptional

Whether the room is wheelchair-accessible / barrier-free

Default: false
openingHoursobjectoptional

Room opening hours (bookings must fall within)

nullable
startstringerforderlich

HH:mm

Pattern
endstringerforderlich

HH:mm

Pattern
bufferMinutesintegeroptional

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

0 – 120nullable
slotDurationMinutesintegeroptional

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

15 – 480nullable
maxBookingMinutesintegeroptional

Maximum booking duration in minutes

≥ 15nullable
requiresCleaningbooleanoptional

Whether the room requires cleaning after each use

Default: false
cateringAvailablebooleanoptional

Whether catering can be ordered for this room

Default: false
cateringNotesstringoptional

Notes about available catering options

max 1000 Zeichennullable
additionalServicesstring[]optional

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

Default: []
allowRecurringbooleanoptional

Whether recurring bookings are allowed for this room

Default: false
tagsstring[]optional

Tags for filtering

Default: []
responsibleUserIduuidoptional

User responsible for maintenance / contact person

nullable
notesstringoptional

Internal notes

max 5000 Zeichennullable
imageFileIdsstring[]optional

File IDs of resource photos

Default: []

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/pool_resources — Liste, paginiert + filterbar
  • GET /api/v1/pool_resources/<id> — Einzelne Entity
  • POST /api/v1/pool_resources — Anlegen
  • PATCH /api/v1/pool_resources/<id> — Teil-Update
  • DELETE /api/v1/pool_resources/<id> — Soft-Delete
  • GET /api/v1/pool_resources/<id>/timeline — Audit + Aktivitäten

Suche