myBidNextActions
Requires permission biddesk:bid:read.
What the caller should do next across every bid they may see, most urgent first: approve, accept a hand-off, submit a cost sheet, finish a stage, complete a task, chase, or follow up on something escalated to them. 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 MyBidNextActions {
myBidNextActions {
bidNumber
bidId
bidTitle
blockers
key
kind
target {
type
anchorId
anchorType
bidId
handoffId
handoffVersion
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query MyBidNextActions {\n myBidNextActions {\n bidNumber\n bidId\n bidTitle\n blockers\n key\n kind\n target {\n type\n anchorId\n anchorType\n bidId\n handoffId\n handoffVersion\n }\n }\n}"
}
EOF
Response:
{
"data": {
"myBidNextActions": [
{
"bidNumber": "string",
"bidId": "id",
"bidTitle": "string",
"blockers": 0,
"key": "string",
"kind": "ACCEPT_HANDOFF",
"target": {
"type": "APPROVAL",
"anchorId": "id",
"anchorType": "APPROVAL_STAGE",
"bidId": "id",
"handoffId": "id",
"handoffVersion": 0
}
}
]
}
}
myBidNextActions(
limit: Int
): [BidNextAction!]!
Arguments
myBidNextActions.limit ● Int scalar
How many to return, 1 to 20. Default 10.
Type
BidNextAction object
One ranked next action on a bid. Counts and minutes only, never an amount.