Generate Insurance Contract Transactions (POST)

Generate contract-level transaction details for a group benefits contract over a specified date range. The API groups existing policy transactions into InsuranceContractTrxn (header) and InsuranceContractTrxnDetail (line item) records. This API runs asynchronously and returns a job ID to track the job status.

Resource 

{contractId} is a placeholder.

1/connect/insurance/contracts/{contractId}/actions/generate-transactions

Resource Example 

Replace {yourInstance} with the My Domain name of your Salesforce org.

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/insurance/contracts/800xx0000004C92AAE/actions/generate-transactions

Available Version 

68.0

HTTP Methods 

POST

Path Parameter for POST 

Parameter NameTypeDescriptionRequired or OptionalAvailable Version
contractIdStringID of the insurance contract.Required68.0

Request Body for POST 

JSON Example 

1{
2  "name": "Q1-2026-Transactions",
3  "fromDate": "2026-01-01",
4  "toDate": "2026-03-31"
5}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
fromDateStringStart date of the time period for which you want to generate contract transactions, in YYYY-MM-DD format.Required68.0
nameStringName of the transaction generation job. Use a descriptive name so that you can identify the job later.Optional68.0
toDateStringEnd date of the time period for which to generate contract transactions, in YYYY-MM-DD format. Must be on or after the fromDate.Required68.0

Response Body for POST 

Insurance Contract Transactions Generation Response