customerBidProposalPdf
Requires a customer (portal or buyer app) session.
Base64 PDF of one document of a proposal revision sent to this customer.
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 CustomerBidProposalPdf($kind: CustomerBidProposalDocumentKind!, $revisionId: ID!) {
customerBidProposalPdf(kind: $kind, revisionId: $revisionId)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerBidProposalPdf($kind: CustomerBidProposalDocumentKind!, $revisionId: ID!) {\n customerBidProposalPdf(kind: $kind, revisionId: $revisionId)\n}",
"variables": {
"kind": "COMMERCIAL",
"revisionId": "id"
}
}
EOF
Variables:
{
"kind": "COMMERCIAL",
"revisionId": "id"
}
Response:
{
"data": {
"customerBidProposalPdf": "string"
}
}
customerBidProposalPdf(
kind: CustomerBidProposalDocumentKind!
revisionId: ID!
): String!
Arguments
customerBidProposalPdf.kind ● CustomerBidProposalDocumentKind! non-null enum
Which document.
customerBidProposalPdf.revisionId ● ID! non-null scalar
The proposal revision, as listed.
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.