curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/configuration/rating/outputs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"fieldDefinition": {
"className": "InputField",
"key": "AnnualRate",
"path": "entityData.AnnualRate"
}
}
'
{
"id": "550e8400-e29b-41d4-a716-446655440100"
}
Configuration Rating Outputs
Create Configuration Rating Output
Creates a new rating output field (entity name: rating_engine_display) and an
associated smart tag with the naming convention AII{key}PrimaryInsured.
The field definition is stored in company_fields, an association is created in
company_entity_fields, and a smart tag is created in smart_tags.
Allowed field class names: InputField
The field key cannot be companyId (reserved) and must be alphanumeric
([A-Za-z0-9]+) since the smart tag name is derived from it.
Required permission: company:update
POST
/
api
/
external
/
companies
/
{companyId}
/
configuration
/
rating
/
outputs
curl --request POST \
--url https://app.aiinsurance.io/api/external/companies/{companyId}/configuration/rating/outputs \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"fieldDefinition": {
"className": "InputField",
"key": "AnnualRate",
"path": "entityData.AnnualRate"
}
}
'
{
"id": "550e8400-e29b-41d4-a716-446655440100"
}
Authorizations
Body
application/json
Was this page helpful?
