add_city_to_zip_override
Associate a city to a zip code. Add a city to a zip code as an override, so that the zip code will have this city as an option during the lookup of possible cities in a zip code, even if an external geolocation service disagrees.
Code
add_city_to_zip_override › Request Body
citystate_abbreviationzip_codecountyadd_city_to_zip_override › Responses
successmessagedataadd_county_to_zip_override
Associate a county to a zip code. Add a county to a zip code as an override, so that the zip code will have this county as an option during the lookup of possible cities in a zip code, even if an external geolocation service disagrees.
Code
add_county_to_zip_override › Responses
successmessagedataadd_county_to_zip_suppression
create_carbone_custom_deliverable
Code
create_carbone_custom_deliverable › Request Body
location_idpolicy_type_namecustom_nameThe deliverable name.
moduleoverwrite_stockprint_on_initial_decprint_on_renewal_decprint_on_non_autopayallow_britequote_creationgenerated_percarbone_template_idsource_file_namedraft_carbone_template_iddraft_source_file_namelast_preview_entity_numberuse_dynamic_fieldsOptional list of dynamic fields to associate with this template. Validated (and, for a dropdown field, its option_source-specific requirements) before the deliverable row is created.
create_carbone_custom_deliverable › Responses
successThe created Carbone deliverable template (CarboneDeliverableModel).
create_system_tags
get_deliverable_preview_json
Code
get_deliverable_preview_json › Request Body
deliverable_idXReportLocation id of the deliverable being previewed. Optional in both modes. It scopes the calculated- and dynamic-field passes to that template (globals only when absent), and in EXAMPLE mode it also decides which fixture is loaded: the deliverable's own module wins over entity_type, so a claim deliverable gets the claim example even when the caller sends the default 'policy'.
entity_typeThe kind of entity to preview against. Authoritative in LIVE mode. In EXAMPLE mode it only decides the fixture when deliverable_id is absent (a template being authored before it has been saved, where the page's trigger-type select is the only signal); with a deliverable_id the deliverable's module decides. 'revision' resolves to the policy context.
entity_idID of the entity to preview. Optional: with neither entity_id nor entity_number the endpoint returns an EXAMPLE context.
entity_numberPolicy or claim number of the entity to preview. Optional: with neither entity_number nor entity_id the endpoint returns an EXAMPLE context.
location_idBusiness location. In LIVE mode a validator: a resolved entity belonging elsewhere returns a warning instead of a context. In EXAMPLE mode a SELECTOR: it narrows policy_type_name to one location's configuration. Absent ('All Locations Default') the name may resolve several policy types across locations, and their configured items are merged.
policy_type_namePolicy type. In LIVE mode a validator, as location_id is. In EXAMPLE mode a SELECTOR, and the one that decides what the panel shows: with it, the context's line items are generated from that policy type's configured policy_type_items - real names, dec sections, ordering, limits, deductibles and rating categories - instead of the fixture's. Without it the fixture's own items are left in place.
dynamic_field_valuesSimulated dynamic-field values keyed by field_key, used to preview the dynamic namespace (see CarboneDeliverableTemplateService.apply_dynamic_fields).
dynamic_fieldsIn-progress (not yet saved) dynamic-field definitions from Carbone Studio's local form state, used INSTEAD OF the database so an unsaved field still previews.
calc_fieldsIn-progress (not yet saved) calculated-field definitions, used INSTEAD OF the database so an unsaved field still previews.
get_deliverable_preview_json › Responses
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = object · requires: warning |
dynamicResolved dynamic-field values, keyed by field_key. A dynamic dropdown's value is the FULL matched object from its source_key array, not just the raw submitted value.
calculatedResolved calculated-field values, keyed by field_name.
EXAMPLE MODE ONLY, and absent on the live path. Says what the context in the same payload actually is, so the panel can tell the author whether they are looking at this site's configuration or BriteCore's shipped sample. Underscore-prefixed so it is skipped as a mappable Carbone path.
get_setting_override_targets
Return the states and policy type definitions a setting override can target, for the overrides editor's pickers.
Code
get_setting_override_targets › Request Body
get_setting_override_targets › Responses
messagesAny messages or errors related to the request
The entities a setting override can target
successWhether the request was successful
get_setting_overrides
Return a setting's per-state / per-policy-type overrides.
Code
get_setting_overrides › Request Body
idThe Setting id (UUID) whose per-state / per-policy-type overrides are listed
get_setting_overrides › Responses
messagesAny messages or errors related to the request
The setting's current overrides, read from the database (not the cache), ordered by policy type definition then state
successWhether the request was successful
list_carbone_deliverable_template_history
Code
list_carbone_deliverable_template_history › Request Body
deliverable_idThe x_report_locations.id of the deliverable whose history is requested. History is returned even when the deliverable is soft-deleted.
list_carbone_deliverable_template_history › Responses
resolve_setting_override
Preview which value a setting resolves to for a state and/or policy type definition, and which override level (if any) produced it.
Code
resolve_setting_override › Request Body
idThe Setting id (UUID) to resolve
location_idState scope (business_locations.id) to resolve for; omit or null for no state
policy_type_definition_codePolicy type scope (policy_type_definitions.code) to resolve for; omit or null for no policy type
resolve_setting_override › Responses
messagesAny messages or errors related to the request
What a scoped read of the setting resolves to right now, and why. Values are the raw stored strings.
successWhether the request was successful
retrieve_admin_alert_scope_overrides
retrieve_admin_alert_scope_overrides
retrieve_admin_alert_scope_overrides › Request Body
overridden_forscope_valueretrieve_admin_alert_scope_overrides › Responses
successMessages or errors related to the request
retrieve_permissions
Code
retrieve_permissions › Request Body
prefixesList of filtering prefixes for permissions list.
retrieve_permissions › Responses
successIndicates if the request was successful
retrieve_property_valuation_availability
Check whether the current user can perform a property replacement cost valuation on the policy.
Code
retrieve_property_valuation_availability › Request Body
is_apprevision_idchosen_roleretrieve_property_valuation_availability › Responses
successmessagedataretrieve_settings
Lists Advanced Settings grouped by section.
Code
retrieve_settings › Request Body
sectionOptional section name. When provided, only that section is returned; otherwise every section is returned.
retrieve_settings › Responses
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: messages, data, success | |
| type = object · requires: permissionDenied, success |
Advanced Settings grouped by section.
successupdate_admin_alert_scope_overrides
update_admin_alert_scope_overrides
update_admin_alert_scope_overrides › Request Body
overridden_forscope_valueupdate_admin_alert_scope_overrides › Responses
successMessages or errors related to the request
update_carbone_custom_deliverable
Code
update_carbone_custom_deliverable › Request Body
idThe ID of the deliverable to update.
location_idpolicy_type_namecustom_nameThe deliverable name.
overwrite_stockcarbone_template_idsource_file_namedraft_carbone_template_iddraft_source_file_namelast_preview_entity_numberprint_on_initial_decprint_on_renewal_decprint_on_non_autopayallow_britequote_creationmodulegenerated_peruse_dynamic_fieldsOptional list of dynamic fields to create/update on this template. Validated (and, for a dropdown field, its option_source-specific requirements) before any mutation - including deleted_dynamic_field_ids' deletions - is applied.
deleted_dynamic_field_idsOptional list of dynamic field IDs to delete.
update_carbone_custom_deliverable › Responses
successThe updated Carbone deliverable template (CarboneDeliverableModel).
update_setting_overrides
Replace a setting's per-state / per-policy-type overrides.
Code
update_setting_overrides › Request Body
idThe Setting id (UUID) whose overrides are being replaced
The full list of scoped override entries for this setting, replacing any existing set. The setting's global value is NOT part of this payload and is never changed by this endpoint -- it lives in settings.value and keeps its existing save path. Accepts either an array of entry objects or a pre-serialized JSON string of that array; either form is validated and normalized server-side (duplicate targets rejected, unknown targets rejected, each value coerced to the storage encoding for the setting's value_type) before persistence, so the stored/returned entries are the normalized ones. Read-time precedence, most specific first: policy type definition in a state, then policy type definition, then state, then the global value in settings.value.
update_setting_overrides › Responses
The setting's overrides as persisted
successWhether the request was successful
