Get A Device
get
/api/device/Devices/{id}
Gets the device that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
Device ID
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
-
message: string
Response message in textExample:
Loaded 1 entries
-
success: boolean
Success or failure responseExample:
true
Nested Schema : deviceDevicesRead
Type:
Show Source
object
-
CustomName: string
Custom NameExample:
Custom Nice Name
-
DeviceGroupName: string
Device Group NameExample:
root
-
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
-
DevicePriorityID: integer
Device Priority IDExample:
1
-
DeviceSNMPAccessID: integer
SNMP Access Profile IDExample:
1
-
DeviceStateID: integer
Device State IDExample:
1
-
DeviceStatus: string
Device StatusExample:
new
-
DeviceStatusIcon: string
Device Status icon colorExample:
green
-
DeviceTypeCategoryDiscoveredID: integer
Device Type Category ID (discovered automatically)Example:
1
-
DeviceTypeCategoryDiscoveredName: string
Device Type Category Name (discovered automatically)Example:
Router
-
DeviceTypeCategoryID: integer
Device Type Category ID (set manually)Example:
1
-
DeviceTypeName: string
Device Type Category Name (set manually)Example:
Router
-
DeviceZoneID: integer
Device Zone IDExample:
1
-
DeviceZoneName: string
Device Zone NameExample:
Default First Zone
-
DNSName: string
DNS NameExample:
router1.example.com
-
FirstFound: string
Timestamp when device was first discoveredExample:
2006-01-02 15:04:05
-
GeoLocation: string
GeoJSON Point of device location (lon, lat)Example:
{"type": "Point", "coordinates": [0, 0]}
-
IPv4: string
IP Address (v4)Example:
192.0.2.1
-
IPv6: string
IP Address (v6) - hex notationExample:
2001:DB8::1
-
LastFound: string
Timestamp when device was last discoveredExample:
2006-01-02 15:04:05
-
LastModified: string
Timestamp when device was last modifiedExample:
2006-01-02 15:04:05
-
ParentDeviceID: integer
DeviceID of Parent for Virtual DevicesExample:
0
-
SerialNumber: string
Serial NumberExample:
-
ShardID: integer
Shard IDExample:
1
-
SysContact: string
SNMP System ContactExample:
-
SysDescription: string
SNMP System DescriptionExample:
-
SysLocation: string
SNMP System LocationExample:
-
SysName: string
SNMP System NameExample:
EXAMPLE-ROUTER
-
SysOID: string
SNMP System Object IDExample:
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