getOrgInventory
GET https://{{host}}/api/v1/orgs/:org_id/inventory
Response Parameters
Name | Type | Description |
---|---|---|
serial | string | device serial |
model | string | device model |
type | string | device type, ap / switch / gateway |
mac | string | MAC address |
sku | string | device stock keeping unit |
hw_rev | string | device hardware revision number |
magic | string | device claim code |
name | string | device name if configured |
hostname | string | hostname reported by the device |
id | string | device id |
site_id | string | site id if assigned, null if not assigned |
org_id | string | org id |
deviceprofile_id | string | deviceprofile id if assigned, null if not assigned |
connected | boolean | whether the device is connected |
adopted | boolean | whether the switch/gateway is adopted |
created_time | long | inventory created time, in epoch |
modified_time | long | inventory last modified time, in epoch |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
type | null | ap / switch / gateway | |
model | null | ||
serial | null | ||
magic | null | ||
site_id | null | ||
mac | null | ||
vc_mac | null | ||
unassigned | null |
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}]