Open Inventory / Docs
EndpunkteInventory structureInventory types

List configured inventory types

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

GET
/inventory-types

Requires the read scope. Active definitions are returned in configured display order. Administrators may include archived definitions.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <inv_ token>

Abfrageparameter

includeArchived?boolean

Include archived definitions when authenticated as an administrator.

Standardfalse

Header-Parameter

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Antwortinhalt

Inventory type definitions

application/json
  1. response
types*array<>
Beispielanfrage
curl -X GET 'https://inventory.example.com/api/v1/inventory-types'
Beispielantwort
{  "types": [    {      "key": "string",      "label": "string",      "description": "string",      "color": "string",      "icon": "string",      "canContain": true,      "spatialContainment": true,      "position": 0,      "isSystem": true,      "createdBy": "string",      "updatedBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "archivedAt": "2019-08-24T14:15:22Z"    }  ]}