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_configuration_import
Record a configuration package so it can be validated and applied.
Code
create_configuration_import › Request Body
file_idA configuration package already stored on this site. Must be active and of the configuration package file type.
urlPresigned Amazon S3 https link to the package. Only Amazon S3 hosts are accepted and redirects are refused, because the fetch is made from inside the cluster.
create_configuration_import › Responses
successTrue if the request was handled
The configuration import record. Nothing has been run against it yet, so its status is null; running belongs to import_configuration.
create_system_tags
export_configuration
Export configuration settings as a package.
Code
export_configuration › Request Body
policy_type_idUUID of the policy type to export along with its dependencies (effective date, line, forms) and any related/underlying policy types.
skip_formsIf true, skip exporting form files (PDF forms and item forms) from S3
export_configuration › Responses
The configuration export. Queued, it comes back at status queued with the background_job_id to poll; run in the request, it is already complete and names the package it produced. The package itself is never in the response: read it from the file the record names, through files/generate_download_url.
successWhether the request was successful
get_configuration_export
Return one configuration export by id.
Code
get_configuration_export › Request Body
export_idThe record id returned when the job was queued
get_configuration_export › Responses
successTrue if the request was handled
The configuration export record.
get_configuration_import
Return one configuration import by id.
Code
get_configuration_import › Request Body
import_idThe configuration import id returned by create_configuration_import
get_configuration_import › Responses
successTrue if the request was handled
The package, and the outcome of the last run against it. Re-running replaces that outcome, so this is current state rather than a history.
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.
import_configuration
Validate or apply a configuration package already recorded here.
Code
import_configuration › Request Body
import_idThe configuration import to run against, as returned by create_configuration_import.
dry_runValidate the package without applying it. Default false.
import_configuration › Responses
The configuration import the run was made against. Queued, it comes back at status queued; poll get_configuration_import with its id. Run in the request, it is already complete. Either way the outcome is in summary, and a later run replaces it.
successWhether the request was successful
list_configuration_exports
Return configuration exports, newest first.
Code
list_configuration_exports › Request Body
limitPage size. Defaults to 25; values outside the range are clamped rather than rejected.
offsetHow many to skip. Ordering is dateAdded descending with id as a tiebreaker, so paging is stable for rows written in the same second.
statusOptional filter. An unrecognised value is rejected rather than ignored, so a typo cannot read as 'none found'.
list_configuration_exports › Responses
successTrue if the request was handled
A page of configuration exports.
list_configuration_imports
Return configuration imports, newest first.
Code
list_configuration_imports › Request Body
limitPage size. Defaults to 25; values outside the range are clamped rather than rejected.
offsetHow many to skip. Ordering is dateAdded descending with id as a tiebreaker, so paging is stable for rows written in the same second.
statusFilter to packages whose runs include one in this status. Matching is against the runs, because a package has no status of its own. An unknown value is rejected rather than ignored: ignoring it would answer a typo with the whole listing.
list_configuration_imports › Responses
successTrue if the request was handled
A page of configuration packages, newest first
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_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).
