Skip to navigation

Evaluate the active approval policies against a quote version

Reports which approval policies finalizing this quote version would breach, why, and who would have to approve. Creates and changes nothing. Requires QUOTE.VIEW as well as APPROVAL_POLICY.VIEW, because the answer reports the quote version’s own values. Requires the APPROVAL_POLICY.VIEW permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

versionstringRequiredDefaults to 1
version

Headers

x-platform-idstringOptional
Platform ID.

Request

This endpoint expects an object.
quote_version_idstringRequired
The ID of the quote version to evaluate the active approval policies against.

Response

OK
object_typestring or nullOptionalRead-only
statusenum or nullOptionalRead-only
What finalizing this quote version would do about approval.
Allowed values:
triggered_approval_policy_idslist of strings or nullOptionalRead-only
The IDs of the approval policies that would be breached.
approval_strategyenum or nullOptionalRead-only
The approval strategy that would be applied to the approval request, the most restrictive of the triggered policies.
Allowed values:
approverslist of objects or nullOptionalRead-only
The users who would receive the approval request, across all triggered approval policies.
evaluated_policieslist of objects or nullOptionalRead-only
Every active approval policy for quote versions, whether it triggered or not.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error