bidWhoKnows
Requires permission biddesk:bid:read.
The people who worked on bids similar to a bid, and how many of those were won. Bids imported from history name no one. 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 BidWhoKnows($bidId: ID!) {
bidWhoKnows(bidId: $bidId) {
name
bids
initials
onThisBid
userId
won
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidWhoKnows($bidId: ID!) {\n bidWhoKnows(bidId: $bidId) {\n name\n bids\n initials\n onThisBid\n userId\n won\n }\n}",
"variables": {
"bidId": "id"
}
}
EOF
Variables:
{
"bidId": "id"
}
Response:
{
"data": {
"bidWhoKnows": [
{
"name": "string",
"bids": 0,
"initials": "string",
"onThisBid": true,
"userId": "id",
"won": 0
}
]
}
}
bidWhoKnows(
bidId: ID!
limit: Int
): [BidExpert!]!
Arguments
bidWhoKnows.bidId ● ID! non-null scalar
The bid to compare.
bidWhoKnows.limit ● Int scalar
How many people to return; 5 by default, at most 10.
Type
BidExpert object
A person who worked on bids similar to the asked-about bid.