Skip to main content

bidAnchorThreadCounts

Requires permission biddesk:bid:read.

Open and total threads for each item of one kind in a bid; items without threads are left out. Only the bid's members can use its room. 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:

query BidAnchorThreadCounts($input: BidAnchorThreadCountsInput!) {
bidAnchorThreadCounts(input: $input) {
anchorId
open
total
}
}

Variables:

{
"input": {
"anchorType": "APPROVAL_STAGE",
"bidId": "id"
}
}

Response:

{
"data": {
"bidAnchorThreadCounts": [
{
"anchorId": "id",
"open": 0,
"total": 0
}
]
}
}
bidAnchorThreadCounts(
input: BidAnchorThreadCountsInput!
): [BidAnchorThreadCount!]!

Arguments​

bidAnchorThreadCounts.input ● BidAnchorThreadCountsInput! non-null input​

The bid and the kind of item.

Type​

BidAnchorThreadCount object​

How many threads one item of a bid has.