Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firstresonance.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Walk an as-built BOM tree from the parent down to all installations. Use case group: Build Hardware

Query

query AbomTree($id: Int!) {
  partInventory(id: $id) {
    id
    serialNumber
    part { partNumber }
    buildRequirements {
      id
      part { partNumber }
      quantity
      installations {
        id
        installedPartInventory { id serialNumber part { partNumber } }
      }
    }
  }
}

Variables

{ "id": 9876 }

Sample response

{
  "data": {
    "partInventory": {
      "id": 9876,
      "serialNumber": "ASM-00012",
      "part": { "partNumber": "BRKT-ASSY-001" },
      "buildRequirements": [
        { "id": 100, "part": { "partNumber": "BRKT-001" }, "quantity": 1, "installations": [ { "id": 200, "installedPartInventory": { "id": 5500, "serialNumber": "SN-00001", "part": { "partNumber": "BRKT-001" } } } ] }
      ]
    }
  }
}

Notes

For deep trees, traverse client-side by recursing through each installedPartInventory.id — GraphQL doesn’t support recursive fragment depth without naming each level.