Generate Group Census From Insurance Contract Action

Asynchronously generate a group census containing member and plan configuration from the active insurance policies associated with an insurance contract.

This action is available in API version 68.0 and later.

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

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. ID of the insurance contract whose details to use to generate group census.
insGenerateCensusInputRepApex-definedRequired. An Apex ConnectApi.InsuranceGenerateCensusInputRepresentation record that contains the policy details to generate the group census.
OutputTypeDescription
insGenerateCensusRepApex-definedAn Apex ConnectApi.InsuranceGenerateCensusRepresentation record that contains the request ID for the asynchronous process and the ID of the group census record that’s created.

POST

This sample request is for the Generate Group Census From Insurance Contract action.

This sample response is for the Generate Group Census From Insurance Contract action.