N-central: find a device by serial number or exact name on large fleets
On an N-central tenant with about 18,300 devices, finding one device is slow. N-central's REST API has no server-side search by device name or serial number, so ncentral_search_devices_by_name walks the device list page by page and can run out of time before it finds the device, and a serial number is only readable per device from the asset record.
Requested: a lookup by serial number (returning deviceId, name, customer, model and serial without a full-fleet walk), an optional customer / org unit scope on the name search, an exact-match option that stops at the first hit, a resume cursor when the time budget runs out, and a compact asset read that returns only serial and model. Requested on support ticket #318.
Log in to comment and vote
Comments1
Christopher Scaminaci
Oct 17
Shipped.
ncentral_find_device_by_serialfinds a device by serial number or exact name. You can scope it to a customer or an org unit, it stops at the first exact match, and on a large fleet it returns a resume cursor so the next call picks up where the last one stopped.