Skip to main content

bidProposalRevisionDiff

Requires permission biddesk:bid:read.

What changed from one revision of a bid to another, one entry per section type; refused with PROPOSAL_DIFF_BID_MISMATCH for revisions of different bids. 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 BidProposalRevisionDiff($fromRevisionId: ID!, $toRevisionId: ID!) {
bidProposalRevisionDiff(
fromRevisionId: $fromRevisionId
toRevisionId: $toRevisionId
) {
status
type
afterHash
beforeHash
changes
truncated
}
}

Variables:

{
"fromRevisionId": "id",
"toRevisionId": "id"
}

Response:

{
"data": {
"bidProposalRevisionDiff": [
{
"status": "string",
"type": "COMPLIANCE_MATRIX",
"afterHash": "string",
"beforeHash": "string",
"changes": {},
"truncated": true
}
]
}
}
bidProposalRevisionDiff(
fromRevisionId: ID!
toRevisionId: ID!
): [BidProposalSectionDiff!]!

Arguments​

bidProposalRevisionDiff.fromRevisionId ● ID! non-null scalar​

The earlier revision.

bidProposalRevisionDiff.toRevisionId ● ID! non-null scalar​

The later revision.

Type​

BidProposalSectionDiff object​

What changed in one section type from one proposal revision to another.