Create policy
agencybloc_create_policyWRITE: create a policy on an existing group or individual. Needs the holder (entity_id + entity_type), coverage type, status and the carrier's full name; unknown coverage types / statuses are created in the account. Returns the new policyID. POST policies/create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lives | No | Number of covered lives. | |
| notes | No | The policy's own notes field. | |
| status | Yes | ||
| carrier | Yes | The carrier's full name. | |
| premium | No | Premium amount. | |
| entity_id | Yes | The groupID or individualID that holds the policy. | |
| term_date | No | A date, yyyy-mm-dd. | |
| entity_type | Yes | ||
| renewal_date | No | A date, yyyy-mm-dd. | |
| coverage_type | Yes | ||
| custom_fields | No | Custom field values keyed by the exact custom field NAME configured in AgencyBloc (sent as custom_<name>). Separate several values of a checkbox-list field with ||. | |
| pay_frequency | No | Payment frequency as configured in the account (e.g. Monthly). | |
| policy_number | No | ||
| effective_date | No | A date, yyyy-mm-dd. | |
| app_submit_date | No | A date, yyyy-mm-dd. | |
| servicing_agent_id | No |