customerBidProposal
Requires a customer (portal or buyer app) session.
One proposal revision sent to this customer: total, validity, what changed since the revision it replaces, and its documents. NOT_FOUND for any other id.
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 CustomerBidProposal($revisionId: ID!) {
customerBidProposal(revisionId: $revisionId) {
bidTitle
changedSections
current
documents
quoteStatus
quoteVersion
total {
amount
currency
}
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerBidProposal($revisionId: ID!) {\n customerBidProposal(revisionId: $revisionId) {\n bidTitle\n changedSections\n current\n documents\n quoteStatus\n quoteVersion\n total {\n amount\n currency\n }\n }\n}",
"variables": {
"revisionId": "id"
}
}
EOF
Variables:
{
"revisionId": "id"
}
Response:
{
"data": {
"customerBidProposal": {
"bidTitle": "string",
"changedSections": [
"string"
],
"current": true,
"documents": [
"COMMERCIAL"
],
"quoteStatus": "string",
"quoteVersion": 0,
"total": {
"amount": "string",
"currency": "string"
}
}
}
}
customerBidProposal(
revisionId: ID!
): CustomerBidProposalDetail!
Arguments
customerBidProposal.revisionId ● ID! non-null scalar
The proposal revision, as listed.
Type
CustomerBidProposalDetail object
One proposal revision sent to this customer, with its summary.