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
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
quote_version_id
The ID of the quote version to evaluate the active approval policies against.
Response
OK
object_type
status
What finalizing this quote version would do about approval.
Allowed values:
triggered_approval_policy_ids
The IDs of the approval policies that would be breached.
approval_strategy
The approval strategy that would be applied to the approval request, the most restrictive of the triggered policies.
Allowed values:
approvers
The users who would receive the approval request, across all triggered approval policies.
evaluated_policies
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