API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · pool_resources

Pool Resource Schema

ID del esquema
pool_resource
Colección
pool_resources
Permisos
  • Leerpool_resource_view
  • Crearpool_resource_create
  • Modificarpool_resource_edit
  • Eliminarpool_resource_delete

Campos

Pool Resource Schema

pool_resources4 permisos

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

namestringobligatorio

Resource name

1–200 caracteres
categorystringobligatorio

Resource category

POOL_DEVICETOOLROOM
statusstringobligatorio

Current resource status

AVAILABLEIN_USEMAINTENANCEDEFECTIVERETIRED
Valor por defecto: "AVAILABLE"
descriptionstringopcional

Detailed description

máx. 2000 caracteresadmite null
locationDescriptionstringopcional

Free-text location description

máx. 500 caracteresadmite null
locationIduuidopcional

Reference to a location entity

admite null
resourceNumberstringopcional

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

máx. 50 caracteressolo lecturaadmite null
serialNumberstringopcional

Serial number

máx. 100 caracteresadmite null
inventoryNumberstringopcional

Internal inventory number

máx. 100 caracteresadmite null
manufacturerstringopcional

Manufacturer name

máx. 100 caracteresadmite null
modelstringopcional

Model name

máx. 100 caracteresadmite null
purchaseDatedateopcional

Purchase date (YYYY-MM-DD)

admite null
purchasePricenumberopcional

Purchase price

≥ 0admite null
linkedAssetIduuidopcional

Optional link to an IT asset in the CMDB

admite null
bookingModestringopcional

How this resource can be booked

HOURLYHALF_DAYFULL_DAY
Valor por defecto: "HOURLY"
venueBookablebooleanopcional

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.

capacityintegeropcional

Person capacity (rooms)

≥ 1admite null
equipmentstring[]opcional

Room equipment (e.g. projector, whiteboard)

Valor por defecto: []
floorAreanumberopcional

Room floor area in square meters

≥ 0admite null
floorstringopcional

Floor / level where the room is located

máx. 50 caracteresadmite null
isAccessiblebooleanopcional

Whether the room is wheelchair-accessible / barrier-free

Valor por defecto: false
openingHoursobjectopcional

Room opening hours (bookings must fall within)

admite null
startstringobligatorio

HH:mm

Patrón
endstringobligatorio

HH:mm

Patrón
bufferMinutesintegeropcional

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

0 – 120admite null
slotDurationMinutesintegeropcional

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

15 – 480admite null
maxBookingMinutesintegeropcional

Maximum booking duration in minutes

≥ 15admite null
requiresCleaningbooleanopcional

Whether the room requires cleaning after each use

Valor por defecto: false
cateringAvailablebooleanopcional

Whether catering can be ordered for this room

Valor por defecto: false
cateringNotesstringopcional

Notes about available catering options

máx. 1000 caracteresadmite null
additionalServicesstring[]opcional

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

Valor por defecto: []
allowRecurringbooleanopcional

Whether recurring bookings are allowed for this room

Valor por defecto: false
tagsstring[]opcional

Tags for filtering

Valor por defecto: []
responsibleUserIduuidopcional

User responsible for maintenance / contact person

admite null
notesstringopcional

Internal notes

máx. 5000 caracteresadmite null
imageFileIdsstring[]opcional

File IDs of resource photos

Valor por defecto: []

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/pool_resources — Lista, paginada y filtrable
  • GET /api/v1/pool_resources/<id> — Una entidad
  • POST /api/v1/pool_resources — Crear
  • PATCH /api/v1/pool_resources/<id> — Actualización parcial
  • DELETE /api/v1/pool_resources/<id> — Eliminación lógica
  • GET /api/v1/pool_resources/<id>/timeline — Auditoría y actividades

Búsqueda