Wiki

Clone wiki

Numera.LibrisAPI / device.search

Home > API Reference Documentation > device.search

device.search

The device.search action is used to search the devices in the platform.

Input Parameters

There are no required parameters. By default, the search does not return devices in a retired state.

PropertyRequiredDescription
imeinoThe ending portion or entire imei of the device. The platform will replace the last digit entered into a '0' if it is not already.
realmnoIf you want to limit the search to a specific realm
msisdnnoSearch using the caller id number of the device (you should clean this up before sending)
namenoIf you want to limit the search to a specific device name
no_collectornoSet to true to search for devices with no event collectors (previously known as patients)
statusnoUsed to filter the device status, choose from unmanaged, active, retired, activating, deactivating, suspended, unsuccessful
status_listnoUsed to filter the device status, send as an array of strings from unmanaged, active, retired, activating, deactivating, suspended, unsuccessful
no_realmnoSet to true to search for devices not assigned to a realm (super user only)

Output

The devices will be placed into a devices[] array in the result. Each device object can have the following properties, some of the properties will only returned if the user or application has certain permissions.

PropertyDescription
iddevice id
imeidevice imei
namedevice name is a string that can be set by the dealer or other customer and be treated as a custom identifier for the device, it has no other meaning in the platform
statusdevice status
realmdevice realm
has_keyset to true when a device has contacted the platform and received its secret key
config_statusstatus related to the device reading a config update from its mailbox when initiated from the partner config dashboard
last_classifytime of the last classify event
last_calibrationtime of the last calibration event
msisdnif active, the caller id of the device
iccidSIM id inside of the Libris unit
network_operatornetwork operator (ATT_EOD,ATT_RETAIL)
event_collector_idformally known as patient id, represents the id that points to the current event log for the device

Updated