Preview Policy Premium Action

Preview prorated and rolled-up premium amounts across the insurance policy hierarchy without creating or updating the changes.

This action is available in API version 68.0 and later.

URI: /services/data/vXX.X/actions/standard/previewPolicyPremium

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

InputTypeDescription
previewPolicyPremiumInputRepresentationApex-definedRequired. An Apex ConnectApi.PreviewPolicyPremiumIAInputRep record that contains the details to calculate and preview the premium amounts for the specified policy ID.
OutputTypeDescription
previewPolicyPremiumOutputRepresentationApex-definedAn Apex ConnectApi__PreviewPolicyPremiumIAOutputRep record that contains the policy premium details for preview.

POST

This sample request is for the Preview Policy Premium action when references isn’t specified.

This sample response is for the Preview Policy Premium action when references isn’t specified in the request.

This sample request is for the Preview Policy Premium action with references included in the request.

This sample response is for the Preview Policy Premium action when references is specified in the request.