ConnectApi.PremiumPreviewResultRepresentation

Output representation of per-node result from a draft-state premium preview, including rolled-up amounts or per-node errors.
Property Name Type Description Available Version
amounts ConnectApi.PremiumPreview​AmountsRepresentation Rolled-up premium amounts for this hierarchy node. Shows null when errors are populated for the node. 68.0
errors List<ConnectApi.ErrorResponseRepresentation> Per-node errors. For example, INVALID_API_INPUT when the reference isn’t in the policy hierarchy. Shows null when the node computed successfully. A failed reference doesn’t fail the whole request. 68.0
recordId String ID of the hierarchy node the amounts or errors belong to. 68.0