Skip to main content

mapBidRequirementToParameter

Requires permission biddesk:bid:update.

Maps a bid's requirement to one configurator question and its answer, or clears the mapping (both empty). Refused with UNKNOWN_PARAMETER, PARAM_NOT_ASKED, BAD_ANSWER_KIND or OUT_OF_OPTIONS when the answer does not fit the question, BID_REQUIREMENT_MAPPING_INCOMPLETE for a key without an answer, VERSION_CONFLICT when someone changed it first. Requires Bid Desk with engineered products and permission to edit 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:

mutation MapBidRequirementToParameter($input: MapBidRequirementInput!) {
mapBidRequirementToParameter(input: $input) {
id
status
createdAt
bidId
category
configAnswer
links {
id
createdAt
requirementId
targetId
targetType
}
}
}

Variables:

{
"input": {
"expectedVersion": 0,
"modelVersionId": "id",
"requirementId": "id"
}
}

Response:

{
"data": {
"mapBidRequirementToParameter": {
"id": "id",
"status": "CLARIFY",
"createdAt": "2025-01-15T00:00:00Z",
"bidId": "id",
"category": "COMMERCIAL",
"configAnswer": {},
"links": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"requirementId": "id",
"targetId": "id",
"targetType": "APPROVAL_STAGE"
}
]
}
}
}
mapBidRequirementToParameter(
input: MapBidRequirementInput!
): BidRequirement!

Arguments​

mapBidRequirementToParameter.input ● MapBidRequirementInput! non-null input​

The requirement, its version, the question and the answer.

Type​

BidRequirement object​

One requirement of a bid, a row of its compliance matrix.