Maintenance & IoT

Bulk-create / -update / -delete équipements (max 100 per call).

Bulk-create / -update / -delete équipements (max 100 per call).

Pattern : `core/bulk.py`. `?atomic=true` rollback global on first failure.
Routes per-id existantes inchangées (CRUD à `/maintenance/<id>` historique).

Permissions requises : maintenance:bulk_import

post/api/v1/maintenance/equipements/bulk

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/maintenance/equipements/bulk
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

categorystring required
iot_endpointstring nullable
iot_polling_secondsinteger nullable
iot_protocol'MQTT' | 'HTTP' | 'MODBUS' | 'OPCUA' | 'null' nullable
iot_topicstring nullable
is_iot_connectedboolean
last_maintenance_datestring date nullable
locationstring nullable
maintenance_periodicity'mensuel' | 'trimestriel' | 'semestriel' | 'annuel' | 'biennal' | 'custom' | 'null' nullable
manufacturerstring nullable
modelstring nullable
namestring required
next_maintenance_datestring date nullable
notesstring nullable
purchase_datestring date nullable
qr_codestring nullable
regulatory_compliance'DREET' | 'COFRAC' | 'APAVE' | 'interne' | 'autre' | 'null' nullable
serial_numberstring required
site_idstring uuid nullable
status'ACTIVE' | 'MAINTENANCE' | 'DECOMMISSIONED'
warranty_expirystring date nullable

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

No recorded changes to this operation across all 1 revision of this API.