bidHandoverPackage
Requires permission biddesk:bid:read.
A handed-over bid's frozen package: the configured items (long-lead first), the approved cost sheet, the payment milestones and the quote reference. Unit costs are null without permission to view costs. Refused with HANDOVER_NOT_RELEASED before the hand-over. Requires Bid Desk 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:
- GraphQL
- cURL
query BidHandoverPackage($bidId: ID!) {
bidHandoverPackage(bidId: $bidId) {
bidNumber
quoteNumber
bidId
bidTitle
contract
costSheetCurrency
lines {
description
leadTimeDays
nodePath
productId
quantity
sku
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidHandoverPackage($bidId: ID!) {\n bidHandoverPackage(bidId: $bidId) {\n bidNumber\n quoteNumber\n bidId\n bidTitle\n contract\n costSheetCurrency\n lines {\n description\n leadTimeDays\n nodePath\n productId\n quantity\n sku\n }\n }\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"bidHandoverPackage": {
"bidNumber": "string",
"quoteNumber": "string",
"bidId": "id",
"bidTitle": "string",
"contract": "string",
"costSheetCurrency": "string",
"lines": [
{
"description": "string",
"leadTimeDays": 0,
"nodePath": "string",
"productId": "id",
"quantity": "string",
"sku": "string"
}
]
}
}
}
bidHandoverPackage(
bidId: ID!
): BidHandoverPackage!
Arguments
bidHandoverPackage.bidId ● ID! non-null scalar
The handed-over bid.
Type
BidHandoverPackage object
A won bid's frozen hand-over package: the configured items (long-lead first), the approved cost sheet, the payment milestones and the quote it was released as.