OrgsJSI

listOrgJsiPastPurchases

GET
/api/v1/orgs/{org_id}/jsi/inventory

This gets all devices purchased from the accounts associated with the Org

  • Fetch Install base devices for all linked accounts and associated account of the linked accounts.
  • The primary and the associated account ids will be queries from SFDC by passing the linked account
  • Returns only the device centric details of the Install base device. No customer specific information will be returned.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid

Query Parameters

limit?integer

Maximum number of results to return per page

Range0 <= value
Default100
page?integer

Select the page number to return when using page-based pagination; starts at 1

Range1 <= value
Default1
model?string

Filter results by one or more device models. Supports comma-separated values

serial?string

Filter results by device serial number

Response Body

curl -X GET "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/jsi/inventory"
[  {    "device_name": "name1",    "end_of_sale_time": 1561507200,    "eos_time": 1672012800,    "master": true,    "model": "EX2300-24MP",    "org_id": "6e843b41-f953-4af9-80e5-e1a70f65754a",    "serial": "XN3123300095",    "sku": "EX2300",    "status": "connected",    "suggested_version": "Latest 21.4R3-Sx",    "type": "switch",    "version": "23.4R2-S4.11",    "version_eos_time": 1672012800,    "version_time": 1561507200,    "warranty": "Enhanced Hardware Warranty",    "warranty_time": 1672012800,    "warranty_type": "Enhanced Hardware Warranty"  }]