Show Devices for Comboboxes and ItemSelectors
get
/api/device/Devices/readForSelect
Request
Query Parameters
-
filter: object
Filter results by most fields (note: Some fields contain state and cannot be filtered)
-
limit: integer(int32)
Number of records to limit results
-
query: string
Query search string (primative filter)
-
sort: object
Sort results by field and direction (note: Some fields contain state and cannot be sorted)
-
start: integer(int32)
Page of results to start fromDefault Value:
1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
data: array
data
Record(s)
-
message: string
Response message in textExample:
Loaded 1 entries
-
success: boolean
Success or failure responseExample:
true
-
total: integer
The total number of results regardless of pagingExample:
1
Nested Schema : deviceDevicesReadForSelect-allOf[0]
Type:
Show Source
object
-
CustomName: string
Custom NameExample:
Custom Nice Name
-
DeviceID: integer
Device IDExample:
1
-
DeviceName: string
Device Name (auto created in order or precidence from CustomName > DNSName > SysName > IPv6Address > IPAddress)Example:
router.example.com
-
DNSName: string
DNS NameExample:
router1.example.com
-
GeoLocation: string
GeoJSON Point of device location (lon, lat)Example:
{"type": "Point", "coordinates": [0, 0]}
-
IPAddress: string
IP Address (v4)Example:
192.0.2.1
-
IPv6Address: string
IP Address (v6) - hex notationExample:
2001:DB8::1
-
ParentDeviceID: integer
DeviceID of Parent for Virtual DevicesExample:
0
-
SysName: string
SNMP System NameExample:
EXAMPLE-ROUTER
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
List of errors reported. Validation errors will be keyed by record field.
-
message: string
Response message in textExample:
Exception thrown
-
success: boolean
Success or failure responseExample:
false
Nested Schema : errors
Type:
array
List of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object