Skip to main content

bidConfiguratorPrefill

Requires permission biddesk:bid:read.

The configurator's answers for a bid from its requirements mapped exactly to a question of the model version, the questions its requirements disagree on, and the requirements no question covers. Requires Bid Desk with engineered products and permission to read bids.

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 BidConfiguratorPrefill($bidId: ID!, $modelVersionId: ID!) {
bidConfiguratorPrefill(bidId: $bidId, modelVersionId: $modelVersionId) {
answers
conflicts {
paramKey
requirementIds
}
}
}

Variables:

{
"bidId": "id",
"modelVersionId": "id"
}

Response:

{
"data": {
"bidConfiguratorPrefill": {
"answers": {},
"conflicts": [
{
"paramKey": "string",
"requirementIds": [
"id"
]
}
]
}
}
}
bidConfiguratorPrefill(
bidId: ID!
modelVersionId: ID!
): BidConfiguratorPrefill!

Arguments​

bidConfiguratorPrefill.bidId ● ID! non-null scalar​

The bid.

bidConfiguratorPrefill.modelVersionId ● ID! non-null scalar​

The configuration model version to pre-fill.

Type​

BidConfiguratorPrefill object​

The configurator's answers for a bid, taken from requirements mapped exactly to a question.