API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · pool_resources

Pool Resource Schema

ID du schéma
pool_resource
Collection
pool_resources
Autorisations
  • Lirepool_resource_view
  • Créerpool_resource_create
  • Modifierpool_resource_edit
  • Supprimerpool_resource_delete

Champs

Pool Resource Schema

pool_resources4 autorisations

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

namestringobligatoire

Resource name

1–200 caractères
categorystringobligatoire

Resource category

POOL_DEVICETOOLROOM
statusstringobligatoire

Current resource status

AVAILABLEIN_USEMAINTENANCEDEFECTIVERETIRED
Par défaut : "AVAILABLE"
descriptionstringfacultatif

Detailed description

max. 2000 caractèresnullable
locationDescriptionstringfacultatif

Free-text location description

max. 500 caractèresnullable
locationIduuidfacultatif

Reference to a location entity

nullable
resourceNumberstringfacultatif

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

max. 50 caractèreslecture seulenullable
serialNumberstringfacultatif

Serial number

max. 100 caractèresnullable
inventoryNumberstringfacultatif

Internal inventory number

max. 100 caractèresnullable
manufacturerstringfacultatif

Manufacturer name

max. 100 caractèresnullable
modelstringfacultatif

Model name

max. 100 caractèresnullable
purchaseDatedatefacultatif

Purchase date (YYYY-MM-DD)

nullable
purchasePricenumberfacultatif

Purchase price

≥ 0nullable
linkedAssetIduuidfacultatif

Optional link to an IT asset in the CMDB

nullable
bookingModestringfacultatif

How this resource can be booked

HOURLYHALF_DAYFULL_DAY
Par défaut : "HOURLY"
venueBookablebooleanfacultatif

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.

capacityintegerfacultatif

Person capacity (rooms)

≥ 1nullable
equipmentstring[]facultatif

Room equipment (e.g. projector, whiteboard)

Par défaut : []
floorAreanumberfacultatif

Room floor area in square meters

≥ 0nullable
floorstringfacultatif

Floor / level where the room is located

max. 50 caractèresnullable
isAccessiblebooleanfacultatif

Whether the room is wheelchair-accessible / barrier-free

Par défaut : false
openingHoursobjectfacultatif

Room opening hours (bookings must fall within)

nullable
startstringobligatoire

HH:mm

Motif
endstringobligatoire

HH:mm

Motif
bufferMinutesintegerfacultatif

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

0 – 120nullable
slotDurationMinutesintegerfacultatif

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

15 – 480nullable
maxBookingMinutesintegerfacultatif

Maximum booking duration in minutes

≥ 15nullable
requiresCleaningbooleanfacultatif

Whether the room requires cleaning after each use

Par défaut : false
cateringAvailablebooleanfacultatif

Whether catering can be ordered for this room

Par défaut : false
cateringNotesstringfacultatif

Notes about available catering options

max. 1000 caractèresnullable
additionalServicesstring[]facultatif

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

Par défaut : []
allowRecurringbooleanfacultatif

Whether recurring bookings are allowed for this room

Par défaut : false
tagsstring[]facultatif

Tags for filtering

Par défaut : []
responsibleUserIduuidfacultatif

User responsible for maintenance / contact person

nullable
notesstringfacultatif

Internal notes

max. 5000 caractèresnullable
imageFileIdsstring[]facultatif

File IDs of resource photos

Par défaut : []

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/pool_resources — Liste, paginée et filtrable
  • GET /api/v1/pool_resources/<id> — Une entité
  • POST /api/v1/pool_resources — Créer
  • PATCH /api/v1/pool_resources/<id> — Mise à jour partielle
  • DELETE /api/v1/pool_resources/<id> — Suppression logique
  • GET /api/v1/pool_resources/<id>/timeline — Audit et activités

Recherche