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
| Parameter | Description |
|---|
| BaseObject | The entity to enroll in insurance (Self or Target). |
| S1 | Insurance ID (Insurance.json Id). |
Examples
| Description | BaseObject | Command | S1 |
|---|
| Self enrolls in life insurance | Self | AddInsurance | Insurance_Life |
| Target enrolls in life insurance | Target | AddInsurance | Insurance_Life |
| Self enrolls in vehicle insurance | Self | AddInsurance | Insurance_Vehicle |
| Target enrolls in health insurance | Target | AddInsurance | Insurance_Health |