Skip to main content

BomImportPreview

What a BOM import would do. Nothing is written.

type BomImportPreview {
assemblies: BomImportAssemblyCounts!
canCommit: Boolean!
lines: BomImportLineCounts!
previewHash: String!
problemTotal: Int!
problems: [BomImportProblem!]!
tree: [BomImportTreeNode!]!
unknownSkus: BomImportUnknownSkus!
}

Fields​

BomImportPreview.assemblies ● BomImportAssemblyCounts! non-null object​

Assembly counts.

BomImportPreview.canCommit ● Boolean! non-null scalar​

Whether the import can be committed as it is.

BomImportPreview.lines ● BomImportLineCounts! non-null object​

Line counts.

BomImportPreview.previewHash ● String! non-null scalar​

Pass this back to the commit; it changes if the file or the mapping changes.

BomImportPreview.problemTotal ● Int! non-null scalar​

How many problems the file has.

BomImportPreview.problems ● [BomImportProblem!]! non-null object​

Up to 500 problems.

BomImportPreview.tree ● [BomImportTreeNode!]! non-null object​

The first 2,000 nodes of the tree, in pre-order.

BomImportPreview.unknownSkus ● BomImportUnknownSkus! non-null object​

SKUs ARC does not know.

Returned By​

previewBomImport query