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

Resource Check-In Schema

ID du schéma
resource_checkin
Collection
resource_checkins
Autorisations
  • Lireresource_checkin_view
  • Créerresource_checkin_create
  • Modifierresource_checkin_edit
  • Supprimerresource_checkin_delete

Champs

Resource Check-In Schema

resource_checkins4 autorisations

Schema for validating resource check-in/check-out records with condition tracking

resourceIduuidobligatoire

Reference to the pool resource

bookingIduuidfacultatif

Reference to the booking (null for walk-up usage)

nullable
userIduuidobligatoire

User performing the check-in/check-out

typestringobligatoire

Whether this is a check-out (take) or check-in (return)

CHECK_OUTCHECK_IN
conditionNotestringfacultatif

Free-text condition description

max. 2000 caractèresnullable
conditionRatingstringfacultatif

Condition rating at time of check-in/check-out

EXCELLENTGOODFAIRPOORDAMAGEDnull
nullable
photoFileIdsstring[]facultatif

File IDs of condition photos

Par défaut : []
timestampdatetimeobligatoire

When the check-in/check-out occurred (ISO 8601)

notesstringfacultatif

Additional notes

max. 2000 caractèresnullable

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

Recherche