addOrgInventory
POST https://{{host}}/api/v1/orgs/:org_id/inventory
Request Body
["6JG8E-PTFV2-A9Z2N", "DVH4V-SNMSZ-PDXBR"]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |
RESPONSES
status: OK
{"added":["6JG8E-PTFV2-A9Z2N"],"duplicated":["DVH4V-SNMSZ-PDXBR"],"error":["PO1025335ohoh"],"inventory_added":[{"serial":"FXLH2015150025","model":"AP41","type":"ap","magic":"6JG8EPTFV2A9Z2N","mac":"5c5b35000018"}],"inventory_duplicated":[{"serial":"FXLH2015150027","model":"AP41","type":"ap","magic":"DVH4VSNMSZPDXBR","mac":"5c5b35000012"}]}