Skip to main content

Execute_AddInsurance

Description

Enrolls the specified entity into an insurance plan. If the entity is already enrolled in the specified insurance, a warning log is generated and nothing happens.

Parameters

ParameterDescription
BaseObjectThe entity to enroll in insurance (Self or Target).
S1Insurance ID (Insurance.json Id).

Examples

DescriptionBaseObjectCommandS1
Self enrolls in life insuranceSelfAddInsuranceInsurance_Life
Target enrolls in life insuranceTargetAddInsuranceInsurance_Life
Self enrolls in vehicle insuranceSelfAddInsuranceInsurance_Vehicle
Target enrolls in health insuranceTargetAddInsuranceInsurance_Health