Open Inventory / Docs
EndpunkteManufacturingResourcesIdBom parents

List assemblies whose effective bill of materials uses this item

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
/resources/{id}/bom-parents

Includes direct primary-item BOM lines, inherited variant BOM lines, and sparse variant overrides. Parent assemblies that the caller cannot read are omitted.

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <inv_ token>

Pfadparameter

id*string
Formatuuid

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

Readable parent assemblies using this item

application/json
  1. response
parents*array<>
Beispielanfrage
curl -X GET 'https://inventory.example.com/api/v1/resources/497f6eca-6276-4993-bfeb-53cbbbba6f08/bom-parents'
Beispielantwort
{  "parents": [    {      "id": "string",      "slotKey": "string",      "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",      "name": "string",      "type": "string",      "status": "string",      "quantityPerAssembly": 1,      "position": 0,      "note": "string",      "origin": "local"    }  ]}