Skip to main content

bomOptions

Requires permission biddesk:assembly:read.

The option groups, decision-table rules and line groups of one bill-of-materials version, or null. Requires Bid Desk with engineered products and permission to read assemblies.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query BomOptions($versionId: ID!) {
bomOptions(versionId: $versionId) {
version
versionId
lineGroups {
lineId
optionGroupKey
}
}
}

Variables:

{
"versionId": "id"
}

Response:

{
"data": {
"bomOptions": {
"version": 0,
"versionId": "id",
"lineGroups": [
{
"lineId": "id",
"optionGroupKey": "string"
}
]
}
}
}
bomOptions(
versionId: ID!
): BomOptions

Arguments​

bomOptions.versionId ● ID! non-null scalar​

The version.

Type​

BomOptions object​

The option groups, decision-table rules and line groups of one bill-of-materials version.