getOrgInventory

GET https://{{host}}/api/v1/orgs/:org_id/inventory

Response Parameters

NameTypeDescription
serialstringdevice serial
modelstringdevice model
typestringdevice type, ap / switch / gateway
macstringMAC address
skustringdevice stock keeping unit
hw_revstringdevice hardware revision number
magicstringdevice claim code
namestringdevice name if configured
hostnamestringhostname reported by the device
idstringdevice id
site_idstringsite id if assigned, null if not assigned
org_idstringorg id
deviceprofile_idstringdeviceprofile id if assigned, null if not assigned
connectedbooleanwhether the device is connected
adoptedbooleanwhether the switch/gateway is adopted
created_timelonginventory created time, in epoch
modified_timelonginventory last modified time, in epoch

Request Params

KeyDatatypeRequiredDescription
typenullap / switch / gateway
modelnull
serialnull
magicnull
site_idnull
macnull
vc_macnull
unassignednull

RESPONSES

status: OK

[{"mac":"fc334262af00","serial":"CW1419AN0651","model":"SRX320","sku":"SRX320-SYS-JB","hw_rev":"C","type":"gateway","magic":"XXXXXXXXXXXXXXX","name":"LD_SRX","hostname":"LD_SRX","jsi":false,"org_id":"9777c1a0-6ef6-11e6-8bbf-02e208b2d34f","site_id":"978c48e6-6ef6-11e6-8bbf-02e208b2d34f","created_time":1616108044,"modified_time":1616108293,"id":"00000000-0000-0000-1000-fc334262af00","adopted":true,"deviceprofile_id":null,"connected":true}]