bidDeskPilotComparison
Requires permission biddesk:settings:manage.
The pilot bid beside the past bid it replays; null when no pilot was started. Amounts are null without permission to view costs or margins, and for a pilot bid the caller may not read. Requires Bid Desk and permission to manage its settings.
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 BidDeskPilotComparison {
bidDeskPilotComparison {
bidNumber
bidId
bidStatus
comparable
costNow
costThen
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query BidDeskPilotComparison {\n bidDeskPilotComparison {\n bidNumber\n bidId\n bidStatus\n comparable\n costNow\n costThen\n }\n}"
}
EOF
Response:
{
"data": {
"bidDeskPilotComparison": {
"bidNumber": "string",
"bidId": "id",
"bidStatus": "CANCELLED",
"comparable": true,
"costNow": "string",
"costThen": "string"
}
}
}
bidDeskPilotComparison: BidDeskPilotComparison
Type
BidDeskPilotComparison object
The pilot bid beside the past bid it replays: what was quoted and what it cost then, and what the pilot's latest cost sheet says now. Amounts are decimal strings in their own currency and are never converted.