action mist_get_org_jsi_past_purchases { label: "getOrgJsiPastPurchases" description: "This gets all devices purchased from the accounts associated with the Org" provider: mist method: GET path: "/api/v1/orgs/{org_id}/jsi/inventory" encoding: json input: { type: "object" properties: { model: { type: "string" } serial: { type: "string" } } additionalProperties: false } output: { type: "array" items: { type: "object" properties: { contract_end_time: { type: "integer" } contract_id: { type: "string" } contract_sku: { type: "string" } contract_start_time: { type: "integer" } customer_po: { type: "string" description: "po number associated with this SKU" } distributor: { type: "string" description: "distributor name" } eol_time: { type: "integer" description: "end of life time" } eos_time: { type: "integer" description: "end of support time" } installed_address: { type: "string" description: "address where the device is installed. It is a combination of address , region , country , zip" } model: { type: "string" description: "model of the install base inventory" } order_id: { type: "string" description: "order ID associated with this SKU" } reseller: { type: "string" description: "reseller name" } serial: { type: "string" description: "serial Number of the inventory" } sku: { type: "string" description: "serviceable device stock" } type: { type: "string" enum: ["ap", "switch", "gateway"] } warranty_end_time: { type: "integer" } warranty_start_time: { type: "integer" } warranty_type: { type: "string" } } } } }