Maintenance & IoT

Create a new equipment.

Permissions requises : maintenance:write

post/api/v1/maintenance

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/maintenance
  • 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.