EndpunkteInventory structureRelation types
List configured relationship 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
Requires the read scope. Administrators may include archived definitions.
bearerAuthheader
AuthentifizierungBearer <inv_ token>includeArchived?booleanInclude archived definitions when authenticated as an administrator.
Standard
falseX-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
Format
uuidRelationship type definitions
application/json- response
relationTypes*array<>curl -X GET 'https://inventory.example.com/api/v1/relation-types'Beispielantwort
{ "relationTypes": [ { "key": "string", "label": "string", "inverseLabel": "string", "description": "string", "allowManual": true, "spatial": 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" } ]}