您在此处:
InsEnrollmentServiceStd:enrollMembers
使用此服务将人口普查成员注册到他们选定的计划中。
类:InsEnrollmentServiceStd
方法:enrollMembers
工作原理
- 服务首先查询群组普查成员 a) 使用给定
groupCensusId的所有成员,或 b) 仅使用 groupCensusMembersIds列表中指定的成员。 - 然后,它会搜索链接到“
GroupCensusMemberPlan”中的每个成员的预注册计划。 -
返回每个成员的产品计划。
-
如果产品是
contract和contractGroupPlans的一部分,服务会创建InsurancePolicy,以及计划中指定的承保项目的InsurancePolicyCoverages。 -
您可以在给定的小组普查中为小组普查成员创建“个人客户”。要支持个人客户流:
-
如果
accountIds(从GroupCensusMember检索)可用,服务会将AccountId用作InsurancePolicy.NameInsured,并创建InsurancePolicyParticipants、PrimaryParticipantAccountId和RelatedParticipantAccountId。 -
如果
accountId 为空,服务会将 groupAccountId 用作 InsurancePolicy.NameInsured,并将contactId用作InsurancePolicyParticipants、PrimaryParticipantContactId 和 RelatedParticipantContactId。
-
-
该服务仅为主要成员创建保险单,而不是他们的受抚养人。它在名为 的单独对象中创建依赖信息
InsurancePolicyParticipants。也会为主要成员创建记录。该服务将这些记录与保险单相关联。InsurancePolicyParticipant、primaryParticipantAccountId和relatedParticipantAccountId字段也会使用群组普查成员的AccountId字段进行填充,当AccountId为空时,也会使用类似的联系人字段进行填充。 -
保险单承保范围
如果成员在成员注册期间注册了可选范围,服务将创建单独的
对应于每个已加入可选承保范围的InsurancePolicyCoverage记录。InsurancePolicyCoverage记录存储注册的InsuredPolicyParticipantId。- 对于强制保险,每个产品都有一个家庭的
InsurancePolicyCoverage记录。
- 保险单保费
- 如果
saveMemberPremium为真,InsurancePolicyParticipant记录将包含策略的StandardPremiumAmount值。备注必须配置计算程序,以将 memberPremium amount 字段设置为选中“包括在计算输出中”。
- 如果
远程选项
| 选项 | 描述 |
|---|---|
groupCensusMemberIds |
如果未使用 要注册的特定小组普查成员的 ID(逗号分隔)。 |
groupCensusId |
如果未使用 包含要注册的所有普查成员的小组普查的 ID。 |
contractId |
必填。 成员所属的合同的 ID 及其加入的计划。 |
dependentRoleName
|
对于所有依赖项, 默认值是“成员”。 |
isBatchMode
|
用于异步创建策略。 默认值是 |
primaryRoleName |
对于主要成员, |
saveMemberPremium
|
表示是否必须为所有 如果值为真,保单成员保费将存储在对象 默认值是 false。 |
输出 JSON
该服务返回保单列表。
policyIds
|
InsurancePolicy 记录 ID。 |
{
"policyIds":[
"0036F00002Q4wlSQAR",
"0036F00002Q4wlSQAQ"
]
}