Read one version of a quote
The same shape as reading the quote, with the version asked for in place of the current one.
GET
/api/v1/quotes/{id}/versions/{version}Authorization
AuthorizationOAuth2 access token · headerrequiredAuthorization-code grant with PKCE. Clients are public and hold no secret. Discovery is published at /.well-known/oauth-authorization-server/api/auth.
Scopes:
api.accessPath parameters
idstringrequiredA quote's id
min length 1 · max length 255
versionintegerrequiredThe version to read, counting from 1
min 1
Responses
200
The quote at that version
linesQuoteLine[]requiredShow propertiesHide properties
Array of
QuoteLinechargeTypestringrequiredAllowed:
one_timerecurringmilestonecomponentKindstringrequiredAllowed:
producthardwaresoftwareserviceoptionpackagecreatedAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
descriptionstringrequireddiscountAmountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
groupNamestring | nullrequiredidstringrequiredmin length 1 · max length 255
netAmountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
organizationIdstringrequiredmin length 1 · max length 255
positionintegerrequiredmin -9007199254740991 · max 9007199254740991
priceSnapshotobjectrequiredpricingMethodstringrequiredAllowed:
catalogcost_plusgross_marginmanualresaleproductIdstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullquantitystringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
quoteVersionIdstringrequiredmin length 1 · max length 255
sourceCostEntryIdstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullsourcePriceEntryIdstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nulltaxRatestringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
unitstringrequiredunitCoststring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullunitPricestringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
quoteQuoterequiredShow propertiesHide properties
accountRecordIdstringrequiredmin length 1 · max length 255
createdAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
idstringrequiredmin length 1 · max length 255
numberstringrequiredopportunityRecordIdstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nullorganizationIdstringrequiredmin length 1 · max length 255
recordIdstringrequiredmin length 1 · max length 255
schedulesobject[]requiredShow propertiesHide properties
Array of
objectscheduleQuoteSchedulerequiredShow propertiesHide properties
amountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
createdAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
endsOnstring<date> | nullrequiredShow propertiesHide properties
Any of:
string<date>
string<date>null
nullidstringrequiredmin length 1 · max length 255
intervalMonthsinteger | nullrequiredShow propertiesHide properties
Any of:
integer
integernull
nullkindstringrequiredAllowed:
one_timerecurringmilestonemilestoneLabelstring | nullrequiredorganizationIdstringrequiredmin length 1 · max length 255
quoteLineIdstringrequiredmin length 1 · max length 255
sequenceintegerrequiredmin -9007199254740991 · max 9007199254740991
startsOnstring<date> | nullrequiredShow propertiesHide properties
Any of:
string<date>
string<date>null
nullversionQuoteVersionrequiredShow propertiesHide properties
contentHashstringrequiredcpqProfilestringrequiredAllowed:
catalogprocurementhybridcreatedAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
currencystringrequiredmatches ^[A-Z]{3}$
customerSnapshotobjectrequireddiscountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
frozenAtstring<date-time> | nullrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>null
nullidstringrequiredmin length 1 · max length 255
organizationIdstringrequiredmin length 1 · max length 255
policySnapshotobjectrequiredquoteIdstringrequiredmin length 1 · max length 255
statestringrequiredAllowed:
draftsubmittedapprovedrejectedacceptedsupersededsubtotalstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
taxstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
taxableAmountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
totalstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
versionintegerrequiredmin 1 · max 2147483647
versionsQuoteVersionSummary[]requiredShow propertiesHide properties
Array of
QuoteVersionSummarycontentHashstringrequireddiscountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
frozenAtstring<date-time> | nullrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>null
nullidstringrequiredmin length 1 · max length 255
statestringrequiredAllowed:
draftsubmittedapprovedrejectedacceptedsupersededsubtotalstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
taxstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
taxableAmountstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
totalstringrequiredmatches ^-?(?:0|[1-9]\d{0,15})(?:\.\d{1,8})?$
versionintegerrequiredmin 1 · max 2147483647
400
The request body, query or parameters were refused
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring401
The access token is missing, invalid or revoked
errorstringrequired403
The tenant's module is off, or the token's scope or the member's role does not permit the action
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring404
No such record, or none the caller may read
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring413
The request exceeds the route's body limit
errorstringrequired500
An unexpected failure
errorstringrequired