bidLongLeadPreview
Requires permission biddesk:bid:read.
The configured items of a bid's released proposal, longest supplier lead time first, readable before the hand-over; after it, the recorded items. Read only: it never hands the bid over. Unit costs are null without permission to view costs. Refused with HANDOVER_NO_RELEASED_QUOTE when the bid has no released proposal quote. 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 BidLongLeadPreview($bidId: ID!) {
bidLongLeadPreview(bidId: $bidId) {
description
leadTimeDays
nodePath
productId
quantity
sku
unitCost {
currencyCode
amount
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidLongLeadPreview($bidId: ID!) {\n bidLongLeadPreview(bidId: $bidId) {\n description\n leadTimeDays\n nodePath\n productId\n quantity\n sku\n unitCost {\n currencyCode\n amount\n }\n }\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"bidLongLeadPreview": [
{
"description": "string",
"leadTimeDays": 0,
"nodePath": "string",
"productId": "id",
"quantity": "string",
"sku": "string",
"unitCost": {
"currencyCode": "string",
"amount": "string"
}
}
]
}
}
bidLongLeadPreview(
bidId: ID!
): [BidHandoverLine!]!
Arguments
bidLongLeadPreview.bidId ● ID! non-null scalar
The bid to preview.
Type
BidHandoverLine object
One configured item to deliver: a leaf of the frozen configuration, long-lead items first.