Entité · resource_checkins
Resource Check-In Schema
Champs
Resource Check-In Schema
Schema for validating resource check-in/check-out records with condition tracking
resourceId
Reference to the pool resource
bookingId
Reference to the booking (null for walk-up usage)
nullable
userId
User performing the check-in/check-out
type
Whether this is a check-out (take) or check-in (return)
Valeurs
CHECK_OUTCHECK_INconditionNote
Free-text condition description
max. 2000 caractèresnullable
conditionRating
Condition rating at time of check-in/check-out
Valeurs
EXCELLENTGOODFAIRPOORDAMAGEDnullnullable
photoFileIds
File IDs of condition photos
Par défaut : []
timestamp
When the check-in/check-out occurred (ISO 8601)
notes
Additional notes
max. 2000 caractèresnullable
Aucun champ ne correspond au filtre.
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 filtrableGET /api/v1/resource_checkins/<id>— Une entitéPOST /api/v1/resource_checkins— CréerPATCH /api/v1/resource_checkins/<id>— Mise à jour partielleDELETE /api/v1/resource_checkins/<id>— Suppression logiqueGET /api/v1/resource_checkins/<id>/timeline— Audit et activités