Skip to main content

bidProposalDocumentPdf

Requires permission biddesk:bid:read.

A proposal revision printed as the customer's technical or commercial document (PDF, base64-encoded), from the same source as bidProposalDocumentHtml. Holds no cost, margin or approval record. 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 BidProposalDocumentPdf($kind: BidProposalDocumentKind!, $revisionId: ID!) {
bidProposalDocumentPdf(kind: $kind, revisionId: $revisionId)
}

Variables:

{
"kind": "COMMERCIAL",
"revisionId": "id"
}

Response:

{
"data": {
"bidProposalDocumentPdf": "string"
}
}
bidProposalDocumentPdf(
kind: BidProposalDocumentKind!
revisionId: ID!
): String!

Arguments​

bidProposalDocumentPdf.kind ● BidProposalDocumentKind! non-null enum​

Which document: technical or commercial.

bidProposalDocumentPdf.revisionId ● ID! non-null scalar​

The proposal revision to print.

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.