Generate Insurance Contract Transaction Action

Asynchronously generate insurance contract transactions (InsuranceContractTrxn and InsuranceContractTrxnDtl records) for the specified contract ID over a given date range.

This action is available in API version 68.0 and later.

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

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
contractIdstringRequired. The ID of the insurance contract to generate transactions for
insuranceContractGenerateTxnInputRepApex-definedRequired. An Apex ConnectApi.InsuranceContractGenerateTrxnInputRepresentation record that contains the date range and an optional name for transaction rollup.
OutputTypeDescription
insuranceContractGenerateTxnRepApex-definedAn Apex ConnectApi.InsuranceContractGenerateTrxnRepresentation record that contains details about the asynchronous job ID and success status.

POST

This sample request is for the Generate Insurance Contract Transaction action.

This sample response is for the Generate Insurance Contract Transaction action.