Fleet & trackingDevices
Create and edit devices
Add and update device records, IMEI, SIMs, and feature flags.
Add device
Where: Devices list → New device (requires create_device and list_device_type).
API: Devices.create.
Fields
- IMEI (text).
- Device type (searchable combobox from
DeviceTypes.list). - SIM number and Secondary SIM (phone inputs).
- Password (password field; device access credential as used by your integration).
- Status (data lookup combobox:
object_status_with append search mode). - Has camera (switch →
hasCamera). - Has immobilizer (switch →
hasImmobilizer).
Submit Add device runs validation (deviceSchema) and calls create; the dialog closes on success.
Edit device
Where: Devices table → Actions → Edit (requires update_device and list_device_type).
API: Devices.update (pattern matches create modal; fields align with the create form).
Close or cancel discards pending changes; success closes the modal and refreshes the list.
Delete device
Where: Actions → Delete (requires delete_device).
Confirm in the delete dialog; success removes the device and refreshes the list.
Troubleshooting
- New device hidden: Missing
create_deviceorlist_device_type. - Type list empty: No device types available for your tenant—admin must configure types first.
- Status missing options: Data lookup
object_status_returned no values; check configuration.