Get Formulas Structures API

Use this API to get the formulas structure for an insurance product. A structure is composed from all the input parameter keys expected by the all the formulas attached to the specified insurance product. Depending on that product configuration, the structure looks different from a product to another (see the example below).

Different Settings Lead to Different Structures

The API response includes the following details:

  • the structure for the premium calculation formula, attached to the product (if the case),

  • the structure for all the premium calculation formulas for each of the product items (coverages),

  • the structure for the underwriting formula (rules), attached to the product (if the case),

  • the structure for all the underwriting formulas for each of the product items (coverages),

  • the tariff type set on the product,

  • the underwriting type and the underwriting context type set on the product.

If necessary, in the API call you can specify a Validity Date and get the formulas structure that was valid for your product, at that date.

NOTE  
If no underwriting context type is defined, then the API returns an empty array for the uwRulesStructures array.